Make WordPress Core

Changeset 26698


Ignore:
Timestamp:
12/05/2013 10:46:50 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove redundant parentheses and translation wrapper, see #25946.

Location:
trunk/src/wp-content/themes/twentyfourteen/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php

    r26694 r26698  
    112112
    113113    // Set up and print post meta information.
    114     printf( __( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>', 'twentyfourteen' ),
     114    printf( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>',
    115115        esc_url( get_permalink() ),
    116116        esc_attr( get_the_date( 'c' ) ),
  • trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php

    r26672 r26698  
    168168                                endif;
    169169
    170                                 printf( ( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>' ),
     170                                printf( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>',
    171171                                    esc_url( get_permalink() ),
    172172                                    esc_attr( get_the_date( 'c' ) ),
Note: See TracChangeset for help on using the changeset viewer.