WordPress.org

Make WordPress Core

Changeset 11002


Ignore:
Timestamp:
04/19/09 18:45:09 (5 years ago)
Author:
ryan
Message:

Fix translation of plugin metadata. Props DD32. fixes #9573

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin.php

    r10966 r11002  
    9898                ); 
    9999    if ( $markup || $translate ) 
    100         $plugin_data = _get_plugin_data_markup_translate($plugin_data, $markup, $translate); 
     100        $plugin_data = _get_plugin_data_markup_translate($plugin_file, $plugin_data, $markup, $translate); 
    101101 
    102102    return $plugin_data; 
    103103} 
    104104 
    105 function _get_plugin_data_markup_translate($plugin_data, $markup = true, $translate = true) { 
     105function _get_plugin_data_markup_translate($plugin_file, $plugin_data, $markup = true, $translate = true) { 
    106106 
    107107    //Translate fields 
  • trunk/wp-admin/plugins.php

    r11001 r11002  
    231231 
    232232    //Translate, Apply Markup, Sanitize HTML 
    233     $plugin_data = _get_plugin_data_markup_translate($plugin_data, true, true); 
     233    $plugin_data = _get_plugin_data_markup_translate($plugin_file, $plugin_data, true, true); 
    234234 
    235235    //Filter into individual sections 
Note: See TracChangeset for help on using the changeset viewer.