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.


git-svn-id: https://develop.svn.wordpress.org/trunk@29796 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-09-29 23:34:33 +00:00
parent 811166dc1a
commit 4dc3c6bea2
1 changed files with 1 additions and 0 deletions

View File

@ -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. * Returns all navigation menu objects.
* *
* @since 3.0.0 * @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(). * @param array $args Array of arguments passed on to get_terms().
* @return array menu objects * @return array menu objects