Hide more meta boxes by default. fixes #14212

git-svn-id: http://svn.automattic.com/wordpress/trunk@15976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-10-26 17:14:31 +00:00
parent ac3e880df7
commit 130ae000ce
1 changed files with 1 additions and 1 deletions

View File

@ -1045,7 +1045,7 @@ function get_hidden_meta_boxes( $screen ) {
// Hide slug boxes by default
if ( !is_array( $hidden ) ) {
if ( 'post' == $screen->base )
$hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt');
$hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv');
else
$hidden = array();
$hidden = apply_filters('default_hidden_meta_boxes', $hidden, $screen);