[wp-trac] [WordPress Trac] #41829: Customizer: Deprecate "Your theme supports..."

WordPress Trac noreply at wordpress.org
Sun Sep 10 17:13:10 UTC 2017


#41829: Customizer: Deprecate "Your theme supports..."
-------------------------+------------------
 Reporter:  melchoyce    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.9
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui
-------------------------+------------------

Comment (by westonruter):

 @melchoyce is there anywhere else we have to update that text? Every other
 mention of “theme supports” seems appropriate:

 {{{
 src/wp-includes/class-wp-customize-nav-menus.php:563:
 $description = '<p>' . __( 'Your theme supports one menu. Select which
 menu you would like to use.' ) . '</p>';
 src/wp-includes/class-wp-customize-nav-menus.php:566:
 $description = '<p>' . sprintf( _n( 'Your theme supports %s menu. Select
 which menu appears in each location.', 'Your theme supports %s menus.
 Select which menu appears in each location.', $num_locations ),
 number_format_i18n( $num_locations ) ) . '</p>';
 src/wp-includes/customize/class-wp-customize-nav-menu-item-
 control.php:125:                                     <span
 class="description"><?php _e( 'The description will be displayed in the
 menu if the current theme supports it.' ); ?></span>
 src/wp-admin/includes/class-walker-nav-menu-edit.php:196:
 <span class="description"><?php _e('The description will be displayed in
 the menu if the current theme supports it.'); ?></span>
 src/wp-admin/nav-menus.php:612:                 echo '<p>' . __( 'Your
 theme supports one menu. Select which menu you would like to use.' ) .
 '</p>';
 src/wp-admin/nav-menus.php:614:                 echo '<p>' .  sprintf( _n(
 'Your theme supports %s menu. Select which menu appears in each
 location.', 'Your theme supports %s menus. Select which menu appears in
 each location.', $num_locations ), number_format_i18n( $num_locations ) )
 . '</p>';
 }}}

 Otherwise this can be closed as fixed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41829#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list