/** * Plugin constructor. * * @since 0.0.1 * @access public * @uses plugin_basename * @action rw_change_deprecated_userlogins_init */ public function __construct() { // set the textdomain variable self::$textdomain = self::get_textdomain(); // The Plugins Name self::$plugin_name = $this->get_plugin_header('Name'); // The Plugins Basename self::$plugin_base_name = plugin_basename(__FILE__); // The Plugins Version self::$plugin_version = $this->get_plugin_header('Version'); // Load the textdomain $this->load_plugin_textdomain(); // Hier Filter und Actions einbinden. // alternative Authentifizierung über veraltete userl_logins ermöglichen add_action('admin_notices', array('RW_Change_Deprecated_Userlogins_Core', 'rewrite')); add_filter('authenticate', array('RW_Change_Deprecated_Userlogins_Core', 'authenticate'), 30, 3); // do_action( 'rw_change_deprecated_userlogins_init' ); }