Changeset 5520
- Timestamp:
- 05/26/2017 09:03:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php
r5518 r5520 226 226 * `wordcamporg` is used by all the custom plugins and themes, so that translators only have to deal with a single 227 227 * GlotPress project, and we only have to install/update a single mofile per locale. 228 */ 229 load_textdomain( 'wordcamporg', sprintf( '%s/languages/wordcamporg/wordcamporg-%s.mo', WP_CONTENT_DIR, get_user_locale() ) ); 228 * 229 * There is no .mo file for en_US, so don't load the text domain if that is the specified user locale. 230 */ 231 if ( 'en_US' !== get_user_locale() ) { 232 load_textdomain( 'wordcamporg', sprintf( '%s/languages/wordcamporg/wordcamporg-%s.mo', WP_CONTENT_DIR, get_user_locale() ) ); 233 } 230 234 231 235 // WordCamp.org QBO Integration
Note: See TracChangeset
for help on using the changeset viewer.