diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 7d13e528a3..dff4f35d09 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1461,10 +1461,11 @@ function smilies_init() { ); } + $siteurl = get_option('siteurl'); foreach ( (array) $wpsmiliestrans as $smiley => $img ) { $wp_smiliessearch[] = '/(\s|^)'.preg_quote($smiley, '/').'(\s|$)/'; $smiley_masked = htmlspecialchars(trim($smiley), ENT_QUOTES); - $wp_smiliesreplace[] = " $smiley_masked "; + $wp_smiliesreplace[] = " $smiley_masked "; } }