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
Branches
Tags
No related merge requests found
......@@ -83,7 +83,7 @@ add_action('wp', 'register_embed_handlers');
/* Noembed -- list selected from https://noembed.com/providers */
$noembed = 'https://noembed.com/embed';
$noembed_site = array(
"https?://soundcloud.com/.*/.*",
"https?://soundcloud\\.com/.*",
"https?://www\\.urbandictionary\\.com/define\\.php\\?term=.+",
"https?://(?:www\\.)?vimeo\\.com/.+",
"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