WordPress.org

Make WordPress Core

Changeset 11716


Ignore:
Timestamp:
07/14/09 08:54:03 (6 years ago)
Author:
azaozz
Message:

Fix plugins descriptions localization, props Denis-de-Bernardy, fixes #10382

File:
1 edited

Legend:

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

    r11628 r11716  
    108108    if( $translate && ! empty($plugin_data['TextDomain']) ) { 
    109109        if( ! empty( $plugin_data['DomainPath'] ) ) 
    110             load_plugin_textdomain($plugin_data['TextDomain'], dirname($plugin_file). $plugin_data['DomainPath']); 
     110            load_plugin_textdomain($plugin_data['TextDomain'], false, dirname($plugin_file). $plugin_data['DomainPath']); 
    111111        else 
    112             load_plugin_textdomain($plugin_data['TextDomain'], dirname($plugin_file)); 
     112            load_plugin_textdomain($plugin_data['TextDomain'], false, dirname($plugin_file)); 
    113113 
    114114        foreach ( array('Name', 'PluginURI', 'Description', 'Author', 'AuthorURI', 'Version') as $field ) 
Note: See TracChangeset for help on using the changeset viewer.