- Timestamp:
- 05/26/2017 11:30:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php
r5520 r5521 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 * 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() ) { 228 */ 229 add_action( 'plugins_loaded', function() { 232 230 load_textdomain( 'wordcamporg', sprintf( '%s/languages/wordcamporg/wordcamporg-%s.mo', WP_CONTENT_DIR, get_user_locale() ) ); 233 } 231 } ); 234 232 235 233 // WordCamp.org QBO Integration
Note: See TracChangeset
for help on using the changeset viewer.