WordPress.org

Make WordPress Core

Ticket #13359: 13359.patch

File 13359.patch, 607 bytes (added by ocean90, 11 years ago)
  • wp-admin/includes/nav-menu.php

     
    334334function wp_initial_nav_menu_meta_boxes() {
    335335        global $wp_meta_boxes;
    336336
    337         if ( get_user_option( 'metaboxhidden_nav-menus' ) || ! is_array($wp_meta_boxes) )
     337        if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) )
    338338                return;
    339339
    340340        $initial_meta_boxes = array( 'manage-menu', 'create-menu', 'add-custom-links', 'add-page', 'add-category' );