The default value of a theme's Status header is 'publish', not 'public'. see #20103.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-03-14 13:37:49 +00:00
parent 848d75c4cb
commit feb1697b7a

View File

@ -541,7 +541,7 @@ final class WP_Theme implements ArrayAccess {
switch ( $header ) {
case 'Status' :
if ( ! $value ) {
$value = 'public';
$value = 'publish';
break;
}
// Fall through otherwise.