WordPress.org

Make WordPress Core

Changeset 39808


Ignore:
Timestamp:
01/11/17 10:36:59 (2 months ago)
Author:
ocean90
Message:

Updates: Translate plugin data on the Updates screen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r39324 r39808  
    251251<?php 
    252252    foreach ( (array) $plugins as $plugin_file => $plugin_data ) { 
     253        $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true ); 
     254 
    253255        // Get plugin compat for running version of WordPress. 
    254256        if ( isset($plugin_data->update->tested) && version_compare($plugin_data->update->tested, $cur_wp_version, '>=') ) { 
Note: See TracChangeset for help on using the changeset viewer.