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:
parent
dd57d9fd93
commit
7f1de33932
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user