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:
nacin 2010-11-09 00:46:05 +00:00
parent fa3c017451
commit 75d7ca4b07
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}