Remove a random nacin typo introduced in 3.0. see [12976], #16055.

git-svn-id: https://develop.svn.wordpress.org/trunk@17196 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-31 23:58:02 +00:00
parent 8ace5bbf91
commit 92fe9ad043

View File

@ -108,7 +108,7 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) {
function _get_plugin_data_markup_translate($plugin_file, $plugin_data, $markup = true, $translate = true) {
//Translate fields30
//Translate fields
if ( $translate && ! empty($plugin_data['TextDomain']) ) {
if ( ! empty( $plugin_data['DomainPath'] ) )
load_plugin_textdomain($plugin_data['TextDomain'], false, dirname($plugin_file). $plugin_data['DomainPath']);