Make WordPress Core


Ignore:
Timestamp:
01/15/2021 08:06:50 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [46696], [47060], [49926], [49927], [49929].

See #51800.

File:
1 edited

Legend:

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

    r49108 r49963  
    1414 *
    1515 * @param int|string|WP_Term $menu Menu ID, slug, name, or object.
    16  * @return WP_Term|false False if $menu param isn't supplied or term does not exist, menu object if successful.
     16 * @return WP_Term|false Menu object on success, false if $menu param isn't supplied or term does not exist.
    1717 */
    1818function wp_get_nav_menu_object( $menu ) {
Note: See TracChangeset for help on using the changeset viewer.