Ticket #9686: 9686.patch
File 9686.patch, 736 bytes (added by , 16 years ago) |
---|
-
wp-includes/l10n.php
336 336 */ 337 337 function load_plugin_textdomain($domain, $abs_rel_path = false, $plugin_rel_path = false) { 338 338 $locale = get_locale(); 339 340 $locale = apply_filters('plugin_locale', $locale, $domain); 339 341 340 342 if ( false !== $plugin_rel_path ) 341 343 $path = WP_PLUGIN_DIR . '/' . trim( $plugin_rel_path, '/'); … … 362 364 */ 363 365 function load_theme_textdomain($domain, $path = false) { 364 366 $locale = get_locale(); 367 368 $locale = apply_filters('theme_locale', $locale, $domain); 365 369 366 370 $path = ( empty( $path ) ) ? get_template_directory() : $path; 367 371