Added multisite support

This commit is contained in:
2024-08-17 13:55:15 +02:00
parent 574f670ee0
commit 9318732f07
5 changed files with 12 additions and 7 deletions

View File

@ -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';

View File

@ -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'];