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:
parent
ac3e880df7
commit
130ae000ce
|
@ -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