Ticket #14212: 14212.diff
File 14212.diff, 665 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/template.php
2947 2947 $hidden = get_user_option( "metaboxhidden_{$screen->id}" ); 2948 2948 2949 2949 // Hide slug boxes by default 2950 if ( !is_array( $hidden ) ) 2951 $hidden = array('slugdiv'); 2950 if ( !is_array( $hidden ) ) { 2951 if ( 'post' == $screen->base ) 2952 $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt'); 2953 else 2954 $hidden = array(); 2955 $hidden = apply_filters('default_hidden_meta_boxes', $hidden, $screen); 2956 } 2952 2957 2953 2958 return $hidden; 2954 2959 }