Make WordPress Core


Ignore:
Timestamp:
06/10/2011 09:57:18 PM (15 years ago)
Author:
nacin
Message:

Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385, fixes #17563.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-image.php

    r18189 r18244  
    3333                        <div class="entry-meta">
    3434                                <?php
    35                                         printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span>', 'twentyeleven' ),
    36                                                 get_permalink(),
     35                                        printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
     36                                                esc_url( get_permalink() ),
    3737                                                get_the_date( 'c' ),
    3838                                                get_the_date(),
    39                                                 get_author_posts_url( get_the_author_meta( 'ID' ) ),
     39                                                esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    4040                                                sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ),
    4141                                                get_the_author()
Note: See TracChangeset for help on using the changeset viewer.