WordPress.org

Make WordPress Core

Changeset 26135


Ignore:
Timestamp:
11/13/2013 07:01:34 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: use numbered placeholders for Customizer help text in case they get swapped during translation, props obenland. See #25837.

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

Legend:

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

    r26101 r26135  
    4141    $wp_customize->add_section( 'featured_content', array(
    4242        'title'       => __( 'Featured Content', 'twentyfourteen' ),
    43         'description' => sprintf( __( 'Easily feature all posts with the <a href="%s">"featured" tag</a> or a tag of your choice; if no posts match the tag, <a href="%s">"sticky" posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ),
     43        'description' => sprintf( __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or a tag of your choice; if no posts match the tag, <a href="%2$s">"sticky" posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ),
    4444        'priority'    => 130,
    4545    ) );
  • trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php

    r26101 r26135  
    333333        $wp_customize->add_section( 'featured_content', array(
    334334            'title'          => __( 'Featured Content', 'twentyfourteen' ),
    335             'description'    => sprintf( __( 'Easily feature all posts with the <a href="%s">"featured" tag</a> or a tag of your choice; if no posts match the tag, <a href="%s">"sticky" posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ),
     335            'description'    => sprintf( __( 'Easily feature all posts with the <a href="%1$s">"featured" tag</a> or a tag of your choice; if no posts match the tag, <a href="%2$s">"sticky" posts</a> will be displayed instead.', 'twentyfourteen' ), admin_url( '/edit.php?tag=featured' ), admin_url( '/edit.php?show_sticky=1' ) ),
    336336            'priority'       => 130,
    337337            'theme_supports' => 'featured-content',
Note: See TracChangeset for help on using the changeset viewer.