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
This commit is contained in:
parent
504d4ad5eb
commit
bf52618636
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue