Make WordPress Core

Changeset 39821


Ignore:
Timestamp:
01/11/2017 11:38:44 AM (7 years ago)
Author:
ocean90
Message:

Updates: Translate plugin data on the Updates screen.

Merge of [39808] to the 4.6 branch.

Location:
branches/4.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.6

  • branches/4.6/src/wp-admin/update-core.php

    r37914 r39821  
    254254<?php
    255255    foreach ( (array) $plugins as $plugin_file => $plugin_data ) {
     256        $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true );
     257
    256258        // Get plugin compat for running version of WordPress.
    257259        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.