From 59d33e90daf503d9d3ca8e895569dcfd6861a79d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 16 Feb 2017 16:09:43 +0000 Subject: [PATCH] Docs: Correct `@return` value type for `wp_nav_menu()`. Props chesio. Fixes #39890. Built from https://develop.svn.wordpress.org/trunk@40062 git-svn-id: http://core.svn.wordpress.org/trunk@39999 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php index 8895476985..3c517d150f 100644 --- a/wp-includes/nav-menu-template.php +++ b/wp-includes/nav-menu-template.php @@ -43,7 +43,7 @@ require_once ABSPATH . WPINC . '/class-walker-nav-menu.php'; * Uses printf() format with numbered placeholders. * @type string $item_spacing Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'preserve'. * } - * @return object|false|void Menu output if $echo is false, false if there are no items or no menu was found. + * @return string|false|void Menu output if $echo is false, false if there are no items or no menu was found. */ function wp_nav_menu( $args = array() ) { static $menu_id_slugs = array(); diff --git a/wp-includes/version.php b/wp-includes/version.php index bb6a4b12e5..4b4b3a7200 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40061'; +$wp_version = '4.8-alpha-40062'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.