WordPress.org

Make WordPress Core

Changeset 14598


Ignore:
Timestamp:
05/13/2010 04:21:21 PM (8 years ago)
Author:
ryan
Message:

Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359

File:
1 edited

Legend:

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

    r14571 r14598  
    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
Note: See TracChangeset for help on using the changeset viewer.