Make WordPress Core


Ignore:
Timestamp:
03/14/2012 01:37:49 PM (14 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-theme.php

    r20162 r20173  
    542542                        case 'Status' :
    543543                                if ( ! $value ) {
    544                                         $value = 'public';
     544                                        $value = 'publish';
    545545                                        break;
    546546                                }
Note: See TracChangeset for help on using the changeset viewer.