WordPress.org

Make WordPress Core

Changeset 16246


Ignore:
Timestamp:
11/09/2010 12:46:05 AM (9 years ago)
Author:
nacin
Message:

Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.

File:
1 edited

Legend:

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

    r16198 r16246  
    10501050            $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv');
    10511051        else
    1052             $hidden = array();
     1052            $hidden = array( 'slugdiv' );
    10531053        $hidden = apply_filters('default_hidden_meta_boxes', $hidden, $screen);
    10541054    }
Note: See TracChangeset for help on using the changeset viewer.