Changeset 34484
- Timestamp:
- 09/24/2015 05:49:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r34483 r34484 9 9 10 10 /** 11 * Getthe current locale.12 * 13 * If the locale is set, then it will filter the locale in the 'locale' filter14 * hook and return the value.11 * Retrieves the current locale. 12 * 13 * If the locale is set, then it will filter the locale in the {@see 'locale'} 14 * filter hook and return the value. 15 15 * 16 16 * If the locale is not set already, then the WPLANG constant is used if it is 17 * defined. Then it is filtered through the 'locale' filter hook and the value18 * for the locale global set and the locale is returned.17 * defined. Then it is filtered through the {@see 'locale'} filter hook and 18 * the value for the locale global set and the locale is returned. 19 19 * 20 20 * The process to get the locale should only be done once, but the locale will 21 * always be filtered using the 'locale'hook.21 * always be filtered using the {@see 'locale'} hook. 22 22 * 23 23 * @since 1.5.0
Note: See TracChangeset
for help on using the changeset viewer.