From 5fcb58d0cba6a79ead8e3767f6be05982be424bd Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Wed, 11 Jan 2017 11:43:08 +0000 Subject: [PATCH] Updates: Translate plugin data on the Updates screen. Merge of [39808] to the 4.0 branch. Built from https://develop.svn.wordpress.org/branches/4.0@39827 git-svn-id: http://core.svn.wordpress.org/branches/4.0@39765 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index f88025e09b..a002385671 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -240,6 +240,8 @@ function list_plugin_updates() { $plugin_data) { + $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true ); + $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug )); // Get plugin compat for running version of WordPress. if ( isset($info->tested) && version_compare($info->tested, $cur_wp_version, '>=') ) {