Opened 7 years ago
Closed 7 years ago
#41829 closed enhancement (fixed)
Customizer: Deprecate "Your theme supports..."
Reported by: | melchoyce | Owned by: | |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | has-patch |
Focuses: | ui | Cc: |
Description
It's pretty rare that a theme these days wouldn't support a static front page, or a menu. Rather than telling folks their theme does support something they'd expect to be supported, let's only tell people when their theme doesn't support something.
Attachments (2)
Change History (8)
#4
@
7 years ago
@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.
Note: See
TracTickets for help on using
tickets.
@melchoyce what about add-help-reading-options-help-tab-text-as-homepage-settings-section-description.png to add help tab text from Reading Options as description for Homepage Settings section in Customizer?
Note in this case here we don't need the link to Pages since the stubs can be created inline.