Skip to content
Snippets Groups Projects
Commit d3c5fcb7 authored by lucha's avatar lucha
Browse files

properly escape dot in soundcloud url regex

parent 65d8eaf8
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ add_action('wp', 'register_embed_handlers'); ...@@ -83,7 +83,7 @@ add_action('wp', 'register_embed_handlers');
/* Noembed -- list selected from https://noembed.com/providers */ /* Noembed -- list selected from https://noembed.com/providers */
$noembed = 'https://noembed.com/embed'; $noembed = 'https://noembed.com/embed';
$noembed_site = array( $noembed_site = array(
"https?://soundcloud.com/.*/.*", "https?://soundcloud\\.com/.*",
"https?://www\\.urbandictionary\\.com/define\\.php\\?term=.+", "https?://www\\.urbandictionary\\.com/define\\.php\\?term=.+",
"https?://(?:www\\.)?vimeo\\.com/.+", "https?://(?:www\\.)?vimeo\\.com/.+",
"https?://(?:www\\.)?xkcd\\.com/\\d+/?", "https?://(?:www\\.)?xkcd\\.com/\\d+/?",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment