From 8838465b5eaf814f18291fbb05ae3cb4ea3fd083 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 29 Sep 2024 22:49:16 +0000 Subject: [PATCH] Date/Time: Use numeric input for `touch_time()` fields. This aims to make it easier to enter digits in datetime text fields on mobile devices, instead of opening the full keyboard. Follow-up to [43], [1506], [2998], [3648], [6078], [6989], [7285], [7338], [20168], [20217], [28730], [32945], [49283]. Props sabernhardt. Fixes #62109. Built from https://develop.svn.wordpress.org/trunk@59114 git-svn-id: http://core.svn.wordpress.org/trunk@58510 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index f78acff428..63fc85b382 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -850,19 +850,19 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { $day = ''; + ''; $year = ''; + ''; $hour = ''; + ''; $minute = ''; + ''; echo '
'; /* translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 29712c340a..0ef870e285 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-59113'; +$wp_version = '6.7-alpha-59114'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.