Changeset 8041 for trunk/wp-includes/l10n.php
- Timestamp:
- 06/03/2008 05:19:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/l10n.php
r7999 r8041 292 292 293 293 if ( false === $path ) 294 $path = WP_PLUGIN_DIR; 295 296 $mofile = $path . '/'. $domain . '-' . $locale . '.mo'; 294 $path = ''; 295 else 296 $path = '/' . trim(trim($path), '/'); 297 298 $mofile = WP_PLUGIN_DIR . $path . '/'. $domain . '-' . $locale . '.mo'; 297 299 load_textdomain($domain, $mofile); 298 300 }
Note: See TracChangeset
for help on using the changeset viewer.