Make WordPress Core


Ignore:
Timestamp:
05/19/2010 05:59:43 AM (15 years ago)
Author:
nacin
Message:

Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/nav-menu.php

    r14715 r14738  
    864864 * @return array The database IDs of the items saved
    865865 */
    866 function wp_save_nav_menu_item( $menu_id = 0, $menu_data = array() ) {
     866function wp_save_nav_menu_items( $menu_id = 0, $menu_data = array() ) {
    867867    $menu_id = (int) $menu_id;
    868868    $items_saved = array();
Note: See TracChangeset for help on using the changeset viewer.