Changeset 55881 for trunk/src/wp-admin/menu.php
- Timestamp:
- 06/05/2023 09:03:38 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu.php
r55703 r55881 231 231 if ( current_theme_supports( 'custom-header' ) && current_user_can( 'customize' ) ) { 232 232 $customize_header_url = add_query_arg( array( 'autofocus' => array( 'control' => 'header_image' ) ), $customize_url ); 233 $submenu['themes.php'][15] = array( _ _( 'Header' ), $appearance_cap, esc_url( $customize_header_url ), '', 'hide-if-no-customize' );233 $submenu['themes.php'][15] = array( _x( 'Header', 'custom image header' ), $appearance_cap, esc_url( $customize_header_url ), '', 'hide-if-no-customize' ); 234 234 } 235 235 236 236 if ( current_theme_supports( 'custom-background' ) && current_user_can( 'customize' ) ) { 237 237 $customize_background_url = add_query_arg( array( 'autofocus' => array( 'control' => 'background_image' ) ), $customize_url ); 238 $submenu['themes.php'][20] = array( _ _( 'Background' ), $appearance_cap, esc_url( $customize_background_url ), '', 'hide-if-no-customize' );238 $submenu['themes.php'][20] = array( _x( 'Background', 'custom background' ), $appearance_cap, esc_url( $customize_background_url ), '', 'hide-if-no-customize' ); 239 239 } 240 240
Note: See TracChangeset
for help on using the changeset viewer.