WordPress.org

Make WordPress Core

Ticket #15046: twentyten_get_the_author_meta.patch

File twentyten_get_the_author_meta.patch, 591 bytes (added by drzraf, 8 years ago)
  • twentyten/functions.php

     
    448448                ),
    449449                sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
    450450                        get_author_posts_url( get_the_author_meta( 'ID' ) ),
    451                         sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
     451                        sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author_meta('display_name') ),
    452452                        get_the_author()
    453453                )
    454454        );