Hide more meta boxes by default. fixes #14212

git-svn-id: https://develop.svn.wordpress.org/trunk@15976 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-10-26 17:14:31 +00:00
parent dd57d9fd93
commit 7f1de33932
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);