Changeset 2888 for trunk/wp-includes/wp-l10n.php
- Timestamp:
- 09/16/2005 10:30:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-l10n.php
r2454 r2888 87 87 } 88 88 89 function load_plugin_textdomain($domain ) {89 function load_plugin_textdomain($domain, $path = 'wp-content/plugins') { 90 90 $locale = get_locale(); 91 91 92 $mofile = ABSPATH . " wp-content/plugins/$domain-$locale.mo";92 $mofile = ABSPATH . "$path/$domain-$locale.mo"; 93 93 load_textdomain($domain, $mofile); 94 94 }
Note: See TracChangeset
for help on using the changeset viewer.