Make WordPress Core

Ticket #29460: 29460.2.diff

File 29460.2.diff, 560 bytes (added by curtjen, 10 years ago)
  • wp-includes/nav-menu.php

    diff --git a/wp-includes/nav-menu.php b/wp-includes/nav-menu.php
    index 6c6af4b..9746e5f 100644
    a b function wp_update_nav_menu_item( $menu_id = 0, $menu_item_db_id = 0, $menu_item 
    463463 *
    464464 * @param array $args Array of arguments passed on to get_terms().
    465465 * @return array menu objects
     466 *
     467 * @since 4.0.1 default 'orderby' argument changed from 'none' to 'name'.
    466468 */
    467469function wp_get_nav_menus( $args = array() ) {
    468470        $defaults = array( 'hide_empty' => false, 'orderby' => 'name' );