Make WordPress Core


Ignore:
Timestamp:
05/16/2009 10:32:48 PM (16 years ago)
Author:
westi
Message:

Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r11306 r11370  
    12421242 * @uses wp_post_revision_title()
    12431243 * @uses get_edit_post_link()
    1244  * @uses get_author_name()
     1244 * @uses get_the_author_meta()
    12451245 *
    12461246 * @todo split into two functions (list, form-table) ?
     
    12871287
    12881288        $date = wp_post_revision_title( $revision );
    1289         $name = get_author_name( $revision->post_author );
     1289        $name = get_the_author_meta( 'display_name', $revision->post_author );
    12901290
    12911291        if ( 'form-table' == $format ) {
Note: See TracChangeset for help on using the changeset viewer.