WordPress.org

Make WordPress Core

Ticket #14212: 14212.2.diff

File 14212.2.diff, 654 bytes (added by ryan, 10 years ago)
  • wp-admin/includes/template.php

     
    10451045        // Hide slug boxes by default
    10461046        if ( !is_array( $hidden ) ) {
    10471047                if ( 'post' == $screen->base )
    1048                         $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt');
     1048                        $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv');
    10491049                else
    10501050                        $hidden = array();
    10511051                $hidden = apply_filters('default_hidden_meta_boxes', $hidden, $screen);