Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@16246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
50dc640746
commit
8a63e8ba33
@ -1049,7 +1049,7 @@ function get_hidden_meta_boxes( $screen ) {
|
||||
if ( 'post' == $screen->base )
|
||||
$hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv');
|
||||
else
|
||||
$hidden = array();
|
||||
$hidden = array( 'slugdiv' );
|
||||
$hidden = apply_filters('default_hidden_meta_boxes', $hidden, $screen);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user