WordPress.org

Make WordPress Core

Changeset 20173


Ignore:
Timestamp:
03/14/12 13:37:49 (2 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.