WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/14/2011 01:02:15 AM (8 years ago)
Author:
nacin
Message:

Hide the many extraneous meta boxes for pages by default too. see #14212.

File:
1 edited

Legend:

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

    r17228 r17294  
    10491049    // Hide slug boxes by default
    10501050    if ( !is_array( $hidden ) ) {
    1051         if ( 'post' == $screen->base )
     1051        if ( 'post' == $screen->base || 'page' == $screen->base )
    10521052            $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv');
    10531053        else
Note: See TracChangeset for help on using the changeset viewer.