4.1 Docs Audit: Formatting, line-wrap, and other fixes for the wp_get_nav_menus() DocBlock.

See #30469.


git-svn-id: https://develop.svn.wordpress.org/trunk@30619 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-11-28 12:14:30 +00:00
parent 15bc7024c4
commit 72d761f0b1

View File

@ -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' );