wip
This commit is contained in:
@@ -411,7 +411,7 @@ class WP_Automatic_Updater {
|
||||
case 'theme':
|
||||
$upgrader_item = $item->theme;
|
||||
$theme = wp_get_theme( $upgrader_item );
|
||||
$item_name = $theme->Get( 'Name' );
|
||||
$item_name = $theme->get( 'Name' );
|
||||
// Add the current version so that it can be reported in the notification email.
|
||||
$item->current_version = $theme->get( 'Version' );
|
||||
if ( empty( $item->current_version ) ) {
|
||||
|
||||
Reference in New Issue
Block a user