Make WordPress Core


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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.