Make WordPress Core

Changeset 53391


Ignore:
Timestamp:
05/11/2022 01:20:13 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Menus: Replace "drop down" (noun) with "dropdown" in a few strings.

This makes the spelling more consistent with other instances of the word in core.

Follow-up to [23844], [27676].

Props NekoJonez, mukesh27, SergeyBiryukov.
Fixes #55661.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r53186 r53391  
    625625
    626626    $menu_management  = '<p>' . __( 'The menu management box at the top of the screen is used to control which menu is opened in the editor below.' ) . '</p>';
    627     $menu_management .= '<ul><li>' . __( 'To edit an existing menu, <strong>choose a menu from the drop down and click Select</strong>' ) . '</li>';
     627    $menu_management .= '<ul><li>' . __( 'To edit an existing menu, <strong>choose a menu from the dropdown and click Select</strong>' ) . '</li>';
    628628    $menu_management .= '<li>' . __( 'If you have not yet created any menus, <strong>click the &#8217;create a new menu&#8217; link</strong> to get started' ) . '</li></ul>';
    629629    $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 theme locations at once, <strong>visit the Manage Locations tab</strong> at the top of the screen.' ) . '</p>';
     
    653653else : // Locations tab.
    654654    $locations_overview  = '<p>' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '</p>';
    655     $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location&#8217;s drop down.</strong> When you are finished, <strong>click Save Changes</strong>' ) . '</li>';
     655    $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location&#8217;s dropdown.</strong> When you are finished, <strong>click Save Changes</strong>' ) . '</li>';
    656656    $locations_overview .= '<li>' . __( 'To edit a menu currently assigned to a theme location, <strong>click the adjacent &#8217;Edit&#8217; link</strong>' ) . '</li>';
    657657    $locations_overview .= '<li>' . __( 'To add a new menu instead of assigning an existing one, <strong>click the &#8217;Use new menu&#8217; link</strong>. Your new menu will be automatically assigned to that theme location' ) . '</li></ul>';
  • trunk/src/wp-includes/post-template.php

    r53318 r53391  
    12051205
    12061206    /**
    1207      * Filters the HTML output of a list of pages as a drop down.
     1207     * Filters the HTML output of a list of pages as a dropdown.
    12081208     *
    12091209     * @since 2.1.0
    12101210     * @since 4.4.0 `$parsed_args` and `$pages` added as arguments.
    12111211     *
    1212      * @param string    $output      HTML output for drop down list of pages.
     1212     * @param string    $output      HTML output for dropdown list of pages.
    12131213     * @param array     $parsed_args The parsed arguments array. See wp_dropdown_pages()
    12141214     *                               for information on accepted arguments.
Note: See TracChangeset for help on using the changeset viewer.