Make WordPress Core


Ignore:
Timestamp:
05/16/2009 10:32:48 PM (17 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/general-template.php

    r11347 r11370  
    14871487        $author_id = intval( get_query_var('author') );
    14881488
    1489         $title = esc_attr(sprintf( $args['authortitle'], get_bloginfo('name'), $args['separator'], get_author_name( $author_id ) ));
     1489        $title = esc_attr(sprintf( $args['authortitle'], get_bloginfo('name'), $args['separator'], get_the_author_meta( 'display_name', $author_id ) ));
    14901490        $href = get_author_feed_link( $author_id );
    14911491    } elseif ( is_search() ) {
Note: See TracChangeset for help on using the changeset viewer.