/**
  * @private
  * @static
  */
 public static function install()
 {
     $me = new Wdeb_Installer();
     $me->create_default_options();
 }
            define('WDEB_PLUGIN_LOCATION', 'plugins', true);
            define('WDEB_PLUGIN_BASE_DIR', WP_PLUGIN_DIR, true);
            define('WDEB_PLUGIN_URL', str_replace('http://', @$_SERVER["HTTPS"] == 'on' ? 'https://' : 'http://', WP_PLUGIN_URL), true);
            $textdomain_handler = 'load_plugin_textdomain';
        } else {
            // No textdomain is loaded because we can't determine the plugin location.
            // No point in trying to add textdomain to string and/or localizing it.
            wp_die(__('There was an issue determining where Easy Blogging plugin is installed. Please reinstall.'));
        }
    }
}
$textdomain_handler('wdeb', false, WDEB_PLUGIN_SELF_DIRNAME . '/languages/');
define('WDEB_LOGO_URL', WDEB_PLUGIN_URL . '/img/logo.png', true);
define('WDEB_LANDING_PAGE', 'index.php', true);
require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_installer.php';
Wdeb_Installer::check();
require_once WDEB_PLUGIN_BASE_DIR . '/lib/wdeb_callbacks.php';
require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_options.php';
//Wdeb_Options::populate(); // Deprecated
require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_plugins_handler.php';
Wdeb_PluginsHandler::init();
add_action('wp_logout', 'wdeb_reset_autostart');
if (is_admin()) {
    require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_admin_form_renderer.php';
    require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_admin_pages.php';
    require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_tooltips.php';
    require_once WDEB_PLUGIN_BASE_DIR . '/lib/class_wdeb_wizard.php';
    Wdeb_AdminPages::serve();
    Wdeb_Tooltips::serve();
    Wdeb_Wizard::serve();
    // Setup dashboard notices