From 8a63e8ba33e238c63ba55a2e6784a59223827ac4 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 9 Nov 2010 00:46:05 +0000 Subject: [PATCH] Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212. git-svn-id: https://develop.svn.wordpress.org/trunk@16246 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index c721fcc1c2..0a3d9b1d0f 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1049,7 +1049,7 @@ function get_hidden_meta_boxes( $screen ) { if ( 'post' == $screen->base ) $hidden = array('slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv'); else - $hidden = array(); + $hidden = array( 'slugdiv' ); $hidden = apply_filters('default_hidden_meta_boxes', $hidden, $screen); }