Merge pull request #9476 from WPprodigy/system-status-fix

Check for child themes in the .org repo
This commit is contained in:
Claudio Sanches 2015-10-31 13:54:11 -02:00
commit b9ae523f33
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ if ( ! defined( 'ABSPATH' ) ) {
$active_theme = wp_get_theme();
$theme_version = $active_theme->Version;
$update_theme_version = $active_theme->Version;
$api = themes_api( 'theme_information', array( 'slug' => get_template(), 'fields' => array( 'sections' => false, 'tags' => false ) ) );
$api = themes_api( 'theme_information', array( 'slug' => get_stylesheet(), 'fields' => array( 'sections' => false, 'tags' => false ) ) );
// Check .org
if ( $api && ! is_wp_error( $api ) ) {