WordPress.org

Make WordPress Core

Changeset 39830


Ignore:
Timestamp:
01/11/2017 11:41:05 AM (3 years ago)
Author:
ocean90
Message:

Updates: Translate plugin data on the Updates screen.

Merge of [39808] to the 3.7 branch.

Location:
branches/3.7
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/src

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

    r25957 r39830  
    238238<?php
    239239    foreach ( (array) $plugins as $plugin_file => $plugin_data) {
     240        $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true );
     241
    240242        $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug ));
    241243        // Get plugin compat for running version of WordPress.
Note: See TracChangeset for help on using the changeset viewer.