| @@ -32,12 +32,8 @@ | ||
| 32 | 32 | |
| 33 | 33 | public function __construct() |
| 34 | 34 | { |
| 35 | 35 | |
| 36 | - if ( ! Utils::is_admin_page_request() ) { | |
| 37 | - return; | |
| 38 | - } | |
| 39 | - | |
| 40 | 36 | if ( ! $this->is_allowed() ) { |
| 41 | 37 | if ( Utils::is_iframe() ) { |
| 42 | 38 | $http_host = isset($_SERVER['HTTP_HOST']) ? sanitize_text_field(wp_unslash($_SERVER['HTTP_HOST'])) : ''; |
| 43 | 39 | $request_uri = isset($_SERVER['REQUEST_URI']) ? esc_url_raw(wp_unslash($_SERVER['REQUEST_URI'])) : ''; |