WordPress.org

Make WordPress Core

Ticket #26647: 26647.diff

File 26647.diff, 1.1 KB (added by celloexpressions, 6 years ago)

Standardize the featured content section description string

  • wp-content/themes/twentyfourteen/inc/featured-content.php

     
    409409        public static function customize_register( $wp_customize ) {
    410410                $wp_customize->add_section( 'featured_content', array(
    411411                        'title'          => __( 'Featured Content', 'twentyfourteen' ),
    412                         'description'    => sprintf( __( 'Use a <a href="%1$s">tag</a> to feature your posts. You can change this to a tag of your choice; if no posts match the tag, <a href="%2$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ),
     412                        'description'    => sprintf( __( 'Use a <a href="%1$s">tag</a> to feature your posts. If no posts match the tag, <a href="%2$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ),
    413413                                esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ),
    414414                                admin_url( 'edit.php?show_sticky=1' )
    415415                        ),