Remove debug

git-svn-id: http://svn.automattic.com/wordpress/trunk@14306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-04-29 19:16:21 +00:00
parent 4939a7610a
commit de71b22e0e
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ function wp_initial_nav_menu_meta_boxes() {
if ( get_user_option( 'metaboxhidden_nav-menus' ) || ! is_array($wp_meta_boxes) )
return;
$initial_meta_boxes = array( 'manage-menu', 'create-menu', 'add-custom-links', 'add-page', 'add-category' );
$hidden_meta_boxes = array();
@ -338,9 +338,9 @@ function wp_initial_nav_menu_meta_boxes() {
}
}
}
$user = wp_get_current_user();
update_user_option( $user->ID, 'metaboxhidden_nav-menus', $hidden_meta_boxes, true );
$option = get_user_option( 'metaboxhidden_nav-menus', $user->ID);
}
/**