Loading functions.php +1 −1 Original line number Diff line number Diff line Loading @@ -47,5 +47,5 @@ function fscoli_embed_umap($regex_matches, $embed_attrs, $url, $raw_embed_attrs) <iframe src="$url" style="width: $width; height: $height" allow="fullscreen"></iframe> HTML; } wp_embed_register_handler('umap', '#^https://umap.openstreetmap.de/[a-z]{2}/map/.*#', 'fscoli_embed_umap'); wp_embed_register_handler('umap', '#^https://umap.openstreetmap.de/[a-z]{2}/map/[^/]*#', 'fscoli_embed_umap'); ?> Loading
functions.php +1 −1 Original line number Diff line number Diff line Loading @@ -47,5 +47,5 @@ function fscoli_embed_umap($regex_matches, $embed_attrs, $url, $raw_embed_attrs) <iframe src="$url" style="width: $width; height: $height" allow="fullscreen"></iframe> HTML; } wp_embed_register_handler('umap', '#^https://umap.openstreetmap.de/[a-z]{2}/map/.*#', 'fscoli_embed_umap'); wp_embed_register_handler('umap', '#^https://umap.openstreetmap.de/[a-z]{2}/map/[^/]*#', 'fscoli_embed_umap'); ?>