WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu.php

    r46823 r47060  
    668668 *     @type bool   $nopaging    Whether to retrieve all menu items (true) or paginate (false). Default true.
    669669 * }
    670  * @return false|array $items Array of menu items, otherwise false.
     670 * @return array|false $items Array of menu items, otherwise false.
    671671 */
    672672function wp_get_nav_menu_items( $menu, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.