diff --git a/src/Check.php b/src/Check.php index 15a6516..7d522b8 100644 --- a/src/Check.php +++ b/src/Check.php @@ -23,6 +23,7 @@ class Check { public $text; public $version; public $analytics_id; + public $host; private function setting( $setting ) { @@ -44,6 +45,7 @@ public function __construct( $wp_version, $plugin_version ) { $this->wp_version = $wp_version; $this->version = $plugin_version; $this->analytics_id = Analytics::$analytics_id; + $this->host = parse_url(get_site_url())['host']; if ( isset( $_GET['allow_local'] ) && $_GET['allow_local'] == 'lacol_wolla' ) { $this->allow_local = true;