Make WordPress Core

Changeset 32842


Ignore:
Timestamp:
06/18/2015 03:03:29 PM (10 years ago)
Author:
obenland
Message:

Show the posts meta box by default in Appearance > Menus.

Lessens user confusion and the likelyhood of misusing custom links
to add menu items for posts.

Props bcole808.
Fixes #32440.

File:
1 edited

Legend:

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

    r32833 r32842  
    469469
    470470/**
    471  * Limit the amount of meta boxes to just links, pages and cats for first time users.
     471 * Limit the amount of meta boxes to pages, posts, links, and categories for first time users.
    472472 *
    473473 * @since 3.0.0
     
    481481        return;
    482482
    483     $initial_meta_boxes = array( 'nav-menu-theme-locations', 'add-page', 'add-custom-links', 'add-category' );
     483    $initial_meta_boxes = array( 'add-page', 'add-post', 'add-custom-links', 'add-category' );
    484484    $hidden_meta_boxes = array();
    485485
Note: See TracChangeset for help on using the changeset viewer.