diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 701a66034..7a0f73ddf 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -311,13 +311,11 @@ function list_theme_updates() { $theme_data) { - $screenshot = $theme_data->{'Theme Root URI'} . '/' . $stylesheet . '/' . $theme_data->Screenshot; - + foreach ( $themes as $stylesheet => $theme ) { echo " - - {$theme_data->Name}" . sprintf(__('You have version %1$s installed. Update to %2$s.'), $theme_data->Version, $theme_data->update['new_version']) . " + + " . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . " "; } ?>