Updates: Translate plugin data on the Updates screen.

Merge of [39808] to the 4.4 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@39823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2017-01-11 11:39:31 +00:00
parent 6fa441f541
commit 42481c24d6

View File

@ -253,6 +253,8 @@ function list_plugin_updates() {
<tbody class="plugins">
<?php
foreach ( (array) $plugins as $plugin_file => $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,
'fields' => array(