WordPress.org

Make WordPress Core

Changeset 14301


Ignore:
Timestamp:
04/29/10 17:47:11 (5 years ago)
Author:
ryan
Message:

Partially fix default hidden meta boxes for nav menus. see #13134

File:
1 edited

Legend:

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

    r14295 r14301  
    339339        } 
    340340        $user = wp_get_current_user(); 
    341         update_user_meta( $user->ID, 'meta-box-hidden_nav-menus', $hidden_meta_boxes ); 
     341        update_user_option( $user->ID, 'metaboxhidden_nav-menus', $hidden_meta_boxes, true ); 
    342342 
    343343        // returns all the hidden metaboxes to the js function: wpNavMenu.initial_meta_boxes() 
Note: See TracChangeset for help on using the changeset viewer.