mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955
git-svn-id: https://develop.svn.wordpress.org/trunk@11634 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2682,7 +2682,7 @@ function smilies_init() {
|
||||
} else {
|
||||
$wp_smiliessearch .= '|';
|
||||
}
|
||||
$wp_smiliessearch .= preg_quote($rest);
|
||||
$wp_smiliessearch .= preg_quote($rest, '/');
|
||||
}
|
||||
|
||||
$wp_smiliessearch .= ')(?:\s|$)/m';
|
||||
|
||||
Reference in New Issue
Block a user