WordPress.org

Make WordPress Core

Ticket #24229: 24229.2.diff

File 24229.2.diff, 714 bytes (added by DrewAPicture, 12 months ago)
  • wp-includes/post-template.php

     
    14201420        if ( !$revisions = wp_get_post_revisions( $post->ID ) ) 
    14211421                return; 
    14221422 
    1423         /* translators: post revision: 1: when, 2: author name */ 
    1424         $titlef = _x( '%1$s', 'post revision' ); 
    1425  
    14261423        $rows = $right_checked = ''; 
    14271424        $class = false; 
    14281425        $can_edit_post = current_user_can( 'edit_post', $post->ID ); 
     
    14361433 
    14371434                $date = wp_post_revision_title_expanded( $revision ); 
    14381435 
    1439                 $title = sprintf( $titlef, $date ); 
    1440                 $rows .= "\t<li>$title</li>\n"; 
     1436                $rows .= "\t<li>$date</li>\n"; 
    14411437 
    14421438        } 
    14431439