Plugin Directory


Ignore:
Timestamp:
12/14/2015 05:14:24 PM (10 years ago)
Author:
realloc
Message:

chore(Translation): init hook for i18n moved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multisite-language-switcher/trunk/MultisiteLanguageSwitcher.php

    r1308233 r1308262  
    3939        define( 'MSLS_PLUGIN_PATH', plugin_basename( __FILE__ ) );
    4040    }
    41     if ( ! defined( 'MSLS_PLUGIN__FILE__' ) ) {
     41       
     42        if ( ! defined( 'MSLS_PLUGIN__FILE__' ) ) {
    4243        define( 'MSLS_PLUGIN__FILE__', __FILE__ );
    4344    }
    4445
    45     /**
     46    add_action( 'plugins_loaded', array( 'MslsPlugin', 'init_i18n_support' ) );
     47
     48        /**
    4649     * The Autoloader does all the magic when it comes to include a file
    4750     * @since 0.9.8
     
    8790
    8891    register_uninstall_hook( __FILE__, array( 'MslsPlugin', 'uninstall' ) );
    89 
    90     add_action( 'plugins_loaded', array( 'MslsPlugin', 'init_i18n_support' ) );
    9192
    9293    if ( function_exists( 'is_multisite' ) && is_multisite() ) {
Note: See TracChangeset for help on using the changeset viewer.