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

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