From d59732bd703c53937285ed1c22c474cf2ac867cd Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 11 Jan 2017 11:38:25 +0000 Subject: [PATCH] Updates: Translate plugin data on the Updates screen. Merge of [39808] to the 4.7 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39820 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/update-core.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index c6c21ead5c..a0801b9bad 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -250,6 +250,8 @@ function list_plugin_updates() { $plugin_data ) { + $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true ); + // Get plugin compat for running version of WordPress. if ( isset($plugin_data->update->tested) && version_compare($plugin_data->update->tested, $cur_wp_version, '>=') ) { $compat = '
' . sprintf(__('Compatibility with WordPress %1$s: 100%% (according to its author)'), $cur_wp_version);