From bf52618636796d1f1dcc16fb218b9e244832e879 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 29 Sep 2014 23:35:17 +0000 Subject: [PATCH] Update documentation for `wp_get_nav_menus()` to reflect that the default value for the the 'orderby' argument was changed from 'none' to 'name' in 4.1. Props curtjen. Fixes #29460. Built from https://develop.svn.wordpress.org/trunk@29796 git-svn-id: http://core.svn.wordpress.org/trunk@29565 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/nav-menu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php index 6c6af4b8a7..f715161a48 100644 --- a/wp-includes/nav-menu.php +++ b/wp-includes/nav-menu.php @@ -460,6 +460,7 @@ function wp_update_nav_menu_item( $menu_id = 0, $menu_item_db_id = 0, $menu_item * Returns all navigation menu objects. * * @since 3.0.0 + * @since 4.1.0 Default 'orderby' argument changed from 'none' to 'name'. * * @param array $args Array of arguments passed on to get_terms(). * @return array menu objects