Ticket #24405: 24405.patch
File 24405.patch, 991 bytes (added by , 12 years ago) |
---|
-
wp-includes/post-template.php
1374 1374 1375 1375 $date = date_i18n( $datef, strtotime( $revision->post_modified ) ); 1376 1376 if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) ) 1377 $date = "<a href='$link' >$date</a>";1377 $date = "<a href='$link' class='hide-if-no-js'>$date</a><span class='hide-if-js'>$date</span>"; 1378 1378 1379 1379 $revision_date_author = sprintf( 1380 1380 /* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */ … … 1440 1440 $rows .= "\t<li>" . wp_post_revision_title_expanded( $revision ) . "</li>\n"; 1441 1441 } 1442 1442 1443 echo "<div class='error hide-if-js'>" . __( 'Your browser does not support managing revisions with javascript disabled.' ) . "</div>\n"; 1444 1443 1445 echo "<ul class='post-revisions'>\n"; 1444 1446 echo $rows; 1445 1447