Updates: Translate plugin data on the Updates screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@39808 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2fc1bde29c
commit
ed25ba4f63
@ -250,6 +250,8 @@ function list_plugin_updates() {
|
|||||||
<tbody class="plugins">
|
<tbody class="plugins">
|
||||||
<?php
|
<?php
|
||||||
foreach ( (array) $plugins as $plugin_file => $plugin_data ) {
|
foreach ( (array) $plugins as $plugin_file => $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.
|
// Get plugin compat for running version of WordPress.
|
||||||
if ( isset($plugin_data->update->tested) && version_compare($plugin_data->update->tested, $cur_wp_version, '>=') ) {
|
if ( isset($plugin_data->update->tested) && version_compare($plugin_data->update->tested, $cur_wp_version, '>=') ) {
|
||||||
$compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: 100%% (according to its author)'), $cur_wp_version);
|
$compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: 100%% (according to its author)'), $cur_wp_version);
|
||||||
|
Loading…
Reference in New Issue
Block a user