4.1 Docs Audit: Formatting, line-wrap, and other fixes for the `wp_get_nav_menus()` DocBlock.
See #30469. Built from https://develop.svn.wordpress.org/trunk@30619 git-svn-id: http://core.svn.wordpress.org/trunk@30609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c31f6c11e9
commit
4fd64b94d7
|
@ -456,10 +456,12 @@ 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'.
|
||||
* @since 4.1.0 Default value of the 'orderby' argument was changed from 'none'
|
||||
* to 'name'.
|
||||
*
|
||||
* @param array $args Array of arguments passed on to get_terms().
|
||||
* @return array menu objects
|
||||
* @param array $args Optional. Array of arguments passed on to {@see get_terms()}.
|
||||
* Default empty array.
|
||||
* @return array Menu objects.
|
||||
*/
|
||||
function wp_get_nav_menus( $args = array() ) {
|
||||
$defaults = array( 'hide_empty' => false, 'orderby' => 'name' );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30618';
|
||||
$wp_version = '4.1-beta2-30619';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue