Changeset 9212
- Timestamp:
- 10/16/2008 08:44:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/l10n.php
r9211 r9212 302 302 * @param string $domain Unique identifier for retrieving translated strings 303 303 */ 304 function load_theme_textdomain($domain ) {304 function load_theme_textdomain($domain, $path = false) { 305 305 $locale = get_locale(); 306 306 307 $mofile = get_template_directory() . "/$locale.mo"; 307 $path = ( empty( $path ) ) ? get_template_directory() : $path; 308 309 $mofile = "$path/$locale.mo"; 308 310 load_textdomain($domain, $mofile); 309 311 }
Note: See TracChangeset
for help on using the changeset viewer.