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

git-svn-id: https://develop.svn.wordpress.org/trunk@20173 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-03-14 13:37:49 +00:00
parent 3790d70d28
commit ae895a30c9
1 changed files with 1 additions and 1 deletions

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.