Changeset 31941 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 03/31/2015 06:44:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r31698 r31941 1352 1352 $num_locations = count( array_keys( $locations ) ); 1353 1353 1354 if ( 1 == $num_locations ) { 1355 $description = __( 'Your theme supports one menu. Select which menu you would like to use.' ); 1356 } else { 1357 $description = 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 ) ); 1358 } 1359 1354 1360 $this->add_section( 'nav', array( 1355 1361 'title' => __( 'Navigation' ), 1356 1362 'theme_supports' => 'menus', 1357 1363 'priority' => 100, 1358 'description' => sprintf( _n('Your theme supports %s menu. Select which menu you would like to use.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . "\n\n" . __('You can edit your menu content on the Menus screen in the Appearance section.'),1364 'description' => $description . "\n\n" . __( 'You can edit your menu content on the Menus screen in the Appearance section.' ), 1359 1365 ) ); 1360 1366
Note: See TracChangeset
for help on using the changeset viewer.