Merge pull request #9476 from WPprodigy/system-status-fix
Check for child themes in the .org repo
This commit is contained in:
commit
b9ae523f33
|
@ -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 ) ) {
|
||||
|
|
Loading…
Reference in New Issue