Skip to content

Commit 2295d8a

Browse files
Administration: Remove unused and commented out HTML code in touch_time().
Follow-up to [7338], [29206]. Props umesh.nevase, abcd95. Fixes #63476. git-svn-id: https://develop.svn.wordpress.org/trunk@60252 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8e88f4c commit 2295d8a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/wp-admin/includes/template.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,9 +817,6 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) {
817817
$tab_index_attribute = " tabindex=\"$tab_index\"";
818818
}
819819

820-
// @todo Remove this?
821-
// echo '<label for="timestamp" style="display: block;"><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp"'.$tab_index_attribute.' /> '.__( 'Edit timestamp' ).'</label><br />';
822-
823820
$post_date = ( $for_post ) ? $post->post_date : get_comment()->comment_date;
824821
$jj = ( $edit ) ? mysql2date( 'd', $post_date, false ) : current_time( 'd' );
825822
$mm = ( $edit ) ? mysql2date( 'm', $post_date, false ) : current_time( 'm' );

0 commit comments

Comments
 (0)