After [32796], improve the accessibility and markup for instances of touch_time().

Props rianrietveld, afercia.
Fixes #31714.


git-svn-id: https://develop.svn.wordpress.org/trunk@32945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-06-25 19:30:00 +00:00
parent ae029a133e
commit 53bc964fc1
5 changed files with 37 additions and 14 deletions
@@ -1211,10 +1211,10 @@ class WP_Posts_List_Table extends WP_List_Table {
endif; // post_type_supports title ?>
<?php if ( !$bulk ) : ?>
<label><span class="title"><?php _e( 'Date' ); ?></span></label>
<div class="inline-edit-date">
<fieldset class="inline-edit-date">
<legend><span class="title"><?php _e( 'Date' ); ?></span></legend>
<?php touch_time( 1, 1, 0, 1 ); ?>
</div>
</fieldset>
<br class="clear" />
<?php endif; // $bulk