WordPress.org

Make WordPress Core

Changeset 11424


Ignore:
Timestamp:
05/21/2009 06:17:20 PM (9 years ago)
Author:
ryan
Message:

Use Stylesheet instead of Template to key theme data when doing theme update check. Props josephscott. fixes #9897

File:
1 edited

Legend:

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

    r11404 r11424  
    214214    $themes['current_theme'] = (array) $current_theme;
    215215    foreach( (array) $installed_themes as $theme_title => $theme ) {
    216         $themes[$theme['Template']] = array( );
     216        $themes[$theme['Stylesheet']] = array( );
    217217
    218218        foreach( (array) $theme as $key => $value ) {
    219             $themes[$theme['Template']][$key] = $value;
     219            $themes[$theme['Stylesheet']][$key] = $value;
    220220        }
    221221    }
Note: See TracChangeset for help on using the changeset viewer.