WordPress.org

Make WordPress Core

Changeset 14306


Ignore:
Timestamp:
04/29/10 19:16:21 (5 years ago)
Author:
ryan
Message:

Remove debug

File:
1 edited

Legend:

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

    r14304 r14306  
    324324    if ( get_user_option( 'metaboxhidden_nav-menus' ) || ! is_array($wp_meta_boxes) ) 
    325325        return; 
    326      
     326 
    327327    $initial_meta_boxes = array( 'manage-menu', 'create-menu', 'add-custom-links', 'add-page', 'add-category' ); 
    328328    $hidden_meta_boxes = array(); 
     
    339339        } 
    340340    } 
     341 
    341342    $user = wp_get_current_user(); 
    342343    update_user_option( $user->ID, 'metaboxhidden_nav-menus', $hidden_meta_boxes, true ); 
    343     $option = get_user_option( 'metaboxhidden_nav-menus', $user->ID); 
    344344} 
    345345 
Note: See TracChangeset for help on using the changeset viewer.