Changeset 61648
- Timestamp:
- 02/15/2026 07:22:45 PM (8 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/nav-menus.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/nav-menus.php
r61520 r61648 557 557 558 558 /* 559 * If we have one themelocation, and zero menus, we take them right559 * If we have one registered menu location, and zero menus, we take them right 560 560 * into editing their first menu. 561 561 */ … … 604 604 605 605 /* 606 * Redirect to add screen if there are no menus and this user s has either zero,607 * or more than 1 theme locations.606 * Redirect to add screen if there are no menus and this user has either zero 607 * or more than one registered menu location. 608 608 */ 609 609 if ( 0 === $menu_count && ! $add_new_screen && ! $one_theme_location_no_menus ) { … … 732 732 $menu_management .= '<ul><li>' . __( 'To edit an existing menu, <strong>choose a menu from the dropdown and click Select</strong>' ) . '</li>'; 733 733 $menu_management .= '<li>' . __( 'If you have not yet created any menus, <strong>click the ’create a new menu’ link</strong> to get started' ) . '</li></ul>'; 734 $menu_management .= '<p>' . __( 'You can assign theme locations to individual menus by <strong>selecting the desired settings</strong> at the bottom of the menu editor. To assign menus to all themelocations at once, <strong>visit the Manage Locations tab</strong> at the top of the screen.' ) . '</p>';734 $menu_management .= '<p>' . __( 'You can assign individual menus to the theme’s menu locations by <strong>selecting the desired settings</strong> at the bottom of the menu editor. To assign menus to all theme menu locations at once, <strong>visit the Manage Locations tab</strong> at the top of the screen.' ) . '</p>'; 735 735 736 736 get_current_screen()->add_help_tab( … … 758 758 else : // Locations tab. 759 759 $locations_overview = '<p>' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '</p>'; 760 $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location’s dropdown</strong>. When you are finished, <strong>click Save Changes</strong>' ) . '</li>';761 $locations_overview .= '<li>' . __( 'To edit a menu currently assigned to a theme location, <strong>click the adjacent ’Edit’ link</strong>' ) . '</li>';762 $locations_overview .= '<li>' . __( 'To add a new menu instead of assigning an existing one, <strong>click the ’Use new menu’ link</strong>. Your new menu will be automatically assigned to that theme location' ) . '</li></ul>';760 $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme menu locations, <strong>select a menu from each location’s dropdown</strong>. When you are finished, <strong>click Save Changes</strong>' ) . '</li>'; 761 $locations_overview .= '<li>' . __( 'To edit a menu currently assigned to a theme menu location, <strong>click the adjacent ’Edit’ link</strong>' ) . '</li>'; 762 $locations_overview .= '<li>' . __( 'To add a new menu instead of assigning an existing one, <strong>click the ’Use new menu’ link</strong>. Your new menu will be automatically assigned to that location in the theme.' ) . '</li></ul>'; 763 763 764 764 get_current_screen()->add_help_tab( … … 854 854 <thead> 855 855 <tr> 856 <th scope="col" class="manage-column column-locations"><?php _e( ' ThemeLocation' ); ?></th>856 <th scope="col" class="manage-column column-locations"><?php _e( 'Menu Location' ); ?></th> 857 857 <th scope="col" class="manage-column column-menus"><?php _e( 'Assigned Menu' ); ?></th> 858 858 </tr> … … 1198 1198 1199 1199 <fieldset class="menu-settings-group menu-theme-locations"> 1200 <legend class="menu-settings-group-name howto"><?php _e( ' Displaylocation' ); ?></legend>1200 <legend class="menu-settings-group-name howto"><?php _e( 'Menu location' ); ?></legend> 1201 1201 <?php 1202 1202 foreach ( $locations as $location => $description ) :
Note: See TracChangeset
for help on using the changeset viewer.