Changeset 8404 for trunk/wp-includes/l10n.php
- Timestamp:
- 07/22/2008 09:09:30 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/l10n.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/l10n.php
r8065 r8404 257 257 * load_default_textdomain() - Loads default translated strings based on locale 258 258 * 259 * Loads the .mo file in LANGDIR constant path from WordPress root.259 * Loads the .mo file in WP_LANG_DIR constant path from WordPress root. 260 260 * The translated (.mo) file is named based off of the locale. 261 261 * … … 265 265 $locale = get_locale(); 266 266 267 $mofile = ABSPATH . LANGDIR . "/$locale.mo";267 $mofile = WP_LANG_DIR . "/$locale.mo"; 268 268 269 269 load_textdomain('default', $mofile);
Note: See TracChangeset
for help on using the changeset viewer.