Ticket #24229: 24229.2.diff
File 24229.2.diff, 714 bytes (added by , 12 years ago) |
---|
-
wp-includes/post-template.php
1420 1420 if ( !$revisions = wp_get_post_revisions( $post->ID ) ) 1421 1421 return; 1422 1422 1423 /* translators: post revision: 1: when, 2: author name */1424 $titlef = _x( '%1$s', 'post revision' );1425 1426 1423 $rows = $right_checked = ''; 1427 1424 $class = false; 1428 1425 $can_edit_post = current_user_can( 'edit_post', $post->ID ); … … 1436 1433 1437 1434 $date = wp_post_revision_title_expanded( $revision ); 1438 1435 1439 $title = sprintf( $titlef, $date ); 1440 $rows .= "\t<li>$title</li>\n"; 1436 $rows .= "\t<li>$date</li>\n"; 1441 1437 1442 1438 } 1443 1439