diff --git a/includes/setup.php b/includes/setup.php index 681534b..1832cc7 100644 --- a/includes/setup.php +++ b/includes/setup.php @@ -82,5 +82,6 @@ function kompass_load_ajax_content() { $loginHandler = new LoginHandler(); new BdpVersionChecker(); + #add_filter( 'plugins_api', array( $class, 'info' ), 20, 3 ); require_once dirname(__FILE__) . '/action_caller.php'; diff --git a/includes/update.class.php b/includes/update.class.php index 42783e9..8443da8 100644 --- a/includes/update.class.php +++ b/includes/update.class.php @@ -11,7 +11,7 @@ class BdpVersionChecker public function __construct() { - $plugin_data = get_plugin_data( BDP_LV_STARTUP_FILE ); + $plugin_data = get_plugin_data( BDP_LV_STARTUP_FILE, true, false ); $this->plugin_slug = BDP_LV_PLUGIN_SLUG; $this->updateUrl = $plugin_data['UpdateURI'] . '/info.json'; $this->version = $plugin_data['Version']; diff --git a/modules/LimitLoginAttempts/includes/gui_elements.php b/modules/LimitLoginAttempts/includes/gui_elements.php index 3070c18..20a0652 100644 --- a/modules/LimitLoginAttempts/includes/gui_elements.php +++ b/modules/LimitLoginAttempts/includes/gui_elements.php @@ -1,8 +1,5 @@