mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
848d75c4cb
commit
feb1697b7a
@ -541,7 +541,7 @@ final class WP_Theme implements ArrayAccess {
|
|||||||
switch ( $header ) {
|
switch ( $header ) {
|
||||||
case 'Status' :
|
case 'Status' :
|
||||||
if ( ! $value ) {
|
if ( ! $value ) {
|
||||||
$value = 'public';
|
$value = 'publish';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Fall through otherwise.
|
// Fall through otherwise.
|
||||||
|
Loading…
Reference in New Issue
Block a user