Changeset 6943
- Timestamp:
- 03/27/2018 07:48:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wp15.wordpress.net/public_html/content/mu-plugins/locales.php
r6941 r6943 15 15 16 16 require_once trailingslashit( dirname( __FILE__ ) ) . 'locale-detection/locale-detection.php'; 17 18 /** 19 * Load the wp15 textdomain. 20 */ 21 function textdomain() { 22 $path = WP_LANG_DIR . '/wp15'; 23 $mofile = 'wp15-' . get_locale() . '.mo'; 24 25 load_textdomain( 26 'wp15', 27 $path . '/' . $mofile 28 ); 29 } 30 31 add_action( 'plugins_loaded', __NAMESPACE__ . '\textdomain' ); 17 32 18 33 /**
Note: See TracChangeset
for help on using the changeset viewer.