WordPress.org

Make WordPress Core

Changeset 40062


Ignore:
Timestamp:
02/16/2017 04:08:36 PM (15 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @return value type for wp_nav_menu().

Props chesio.
Fixes #39890.

File:
1 edited

Legend:

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

    r38940 r40062  
    4444 *     @type string             $item_spacing    Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'preserve'.
    4545 * }
    46  * @return object|false|void Menu output if $echo is false, false if there are no items or no menu was found.
     46 * @return string|false|void Menu output if $echo is false, false if there are no items or no menu was found.
    4747 */
    4848function wp_nav_menu( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.