From 827cf97b0004111bbef6c5da69ec2222cfb47b52 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 10 Jun 2014 18:49:26 +0000 Subject: [PATCH] Add screen reader labels to the date inputs on the post editing screen. Fixes #25461. Props frank-klein. git-svn-id: https://develop.svn.wordpress.org/trunk@28730 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 98bba48de0..9bf5b291a9 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -733,7 +733,7 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { $cur_hh = gmdate( 'H', $time_adj ); $cur_mn = gmdate( 'i', $time_adj ); - $month = "\n"; for ( $i = 1; $i < 13; $i = $i +1 ) { $monthnum = zeroise($i, 2); $month .= "\t\t\t" . '