Changeset 1308262 for multisite-language-switcher
- Timestamp:
- 12/14/2015 05:14:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multisite-language-switcher/trunk/MultisiteLanguageSwitcher.php
r1308233 r1308262 39 39 define( 'MSLS_PLUGIN_PATH', plugin_basename( __FILE__ ) ); 40 40 } 41 if ( ! defined( 'MSLS_PLUGIN__FILE__' ) ) { 41 42 if ( ! defined( 'MSLS_PLUGIN__FILE__' ) ) { 42 43 define( 'MSLS_PLUGIN__FILE__', __FILE__ ); 43 44 } 44 45 45 /** 46 add_action( 'plugins_loaded', array( 'MslsPlugin', 'init_i18n_support' ) ); 47 48 /** 46 49 * The Autoloader does all the magic when it comes to include a file 47 50 * @since 0.9.8 … … 87 90 88 91 register_uninstall_hook( __FILE__, array( 'MslsPlugin', 'uninstall' ) ); 89 90 add_action( 'plugins_loaded', array( 'MslsPlugin', 'init_i18n_support' ) );91 92 92 93 if ( function_exists( 'is_multisite' ) && is_multisite() ) {
Note: See TracChangeset
for help on using the changeset viewer.