mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01:00
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…
x
Reference in New Issue
Block a user