Changeset 41868 for trunk/src/wp-includes/class-wp-customize-nav-menus.php
- Timestamp:
- 10/15/2017 10:22:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r41823 r41868 557 557 if ( current_theme_supports( 'widgets' ) ) { 558 558 /* translators: URL to the widgets panel of the customizer */ 559 $description .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme or in <a href="%s">widget areas</a> by adding a “ CustomMenu” widget.' ), "javascript:wp.customize.panel( 'widgets' ).focus();" ) . '</p>';559 $description .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme or in <a href="%s">widget areas</a> by adding a “Navigation Menu” widget.' ), "javascript:wp.customize.panel( 'widgets' ).focus();" ) . '</p>'; 560 560 } else { 561 561 $description .= '<p>' . __( 'Menus can be displayed in locations defined by your theme.' ) . '</p>'; … … 581 581 if ( current_theme_supports( 'widgets' ) ) { 582 582 /* translators: URL to the widgets panel of the customizer */ 583 $description .= '<p>' . sprintf( __( 'If your theme has widget areas, you can also add menus there. Visit the <a href="%s">Widgets panel</a> and add a “ CustomMenu widget” to display a menu in a sidebar or footer.' ), "javascript:wp.customize.panel( 'widgets' ).focus();" ) . '</p>';583 $description .= '<p>' . sprintf( __( 'If your theme has widget areas, you can also add menus there. Visit the <a href="%s">Widgets panel</a> and add a “Navigation Menu widget” to display a menu in a sidebar or footer.' ), "javascript:wp.customize.panel( 'widgets' ).focus();" ) . '</p>'; 584 584 } 585 585 … … 762 762 * @since 4.7.0 Each array item now includes a `$type_label` in addition to `$title`, `$type`, and `$object`. 763 763 * 764 * @param array $item_types Custommenu item types.764 * @param array $item_types Navigation menu item types. 765 765 */ 766 766 $item_types = apply_filters( 'customize_nav_menu_available_item_types', $item_types );
Note: See TracChangeset
for help on using the changeset viewer.