Loading functions.php +2 −2 Original line number Diff line number Diff line Loading @@ -135,8 +135,8 @@ function fscoli_show_embed_privacy_consent_prompt($embed_html) { // Try to guess the URL of the content provider, its domain and, using a hardcoded list of policies, // its privacy policy. $provider_url = fscoli_regex_match_group('/src ?= ?["\'](https?://(.*?))/.*?["\']/', $embed_html, 1); $provider_domain = fscoli_regex_match_group('/src ?= ?["\'](https?://(.*?))/.*?["\']/', $embed_html, 2); $provider_url = fscoli_regex_match_group('#src ?= ?["\'](https?://(.*?))/.*?["\']#', $embed_html, 1); $provider_domain = fscoli_regex_match_group('#src ?= ?["\'](https?://(.*?))/.*?["\']#', $embed_html, 2); $privacy_policy_url = null; if($provider_domain === "umap.openstreetmap.de") { Loading Loading
functions.php +2 −2 Original line number Diff line number Diff line Loading @@ -135,8 +135,8 @@ function fscoli_show_embed_privacy_consent_prompt($embed_html) { // Try to guess the URL of the content provider, its domain and, using a hardcoded list of policies, // its privacy policy. $provider_url = fscoli_regex_match_group('/src ?= ?["\'](https?://(.*?))/.*?["\']/', $embed_html, 1); $provider_domain = fscoli_regex_match_group('/src ?= ?["\'](https?://(.*?))/.*?["\']/', $embed_html, 2); $provider_url = fscoli_regex_match_group('#src ?= ?["\'](https?://(.*?))/.*?["\']#', $embed_html, 1); $provider_domain = fscoli_regex_match_group('#src ?= ?["\'](https?://(.*?))/.*?["\']#', $embed_html, 2); $privacy_policy_url = null; if($provider_domain === "umap.openstreetmap.de") { Loading