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:
parent
3790d70d28
commit
ae895a30c9
|
@ -541,7 +541,7 @@ final class WP_Theme implements ArrayAccess {
|
|||
switch ( $header ) {
|
||||
case 'Status' :
|
||||
if ( ! $value ) {
|
||||
$value = 'public';
|
||||
$value = 'publish';
|
||||
break;
|
||||
}
|
||||
// Fall through otherwise.
|
||||
|
|
Loading…
Reference in New Issue