Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fa3c017451
commit
75d7ca4b07
|
@ -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