WordPress.org

Make WordPress Core

Changeset 19969


Ignore:
Timestamp:
02/21/2012 05:39:05 PM (9 years ago)
Author:
nacin
Message:

Twenty Twelve always trumps its pretenders. see #19978.

File:
1 edited

Legend:

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

    r19821 r19969  
    397397        // a new theme directory and the theme header is not updated. Whichever
    398398        // theme is first keeps the name. Subsequent themes get a suffix applied.
    399         // The Twenty Eleven, Twenty Ten, Default and Classic themes always trump
    400         // their pretenders.
     399        // Default themes themes always trump their pretenders.
    401400        if ( isset($wp_themes[$name]) ) {
    402401            $trump_cards = array(
     
    405404                'twentyten'    => 'Twenty Ten',
    406405                'twentyeleven' => 'Twenty Eleven',
     406                'twentytwelve' => 'Twenty Twelve',
    407407            );
    408408            if ( isset( $trump_cards[ $stylesheet ] ) && $name == $trump_cards[ $stylesheet ] ) {
Note: See TracChangeset for help on using the changeset viewer.