diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index d0ac14a874..7e5a760a76 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -91,7 +91,7 @@ function wptexturize($text) { if ( '"' != $closing_quote ) $dynamic[ '/"(\s|\S|\Z)/' ] = $closing_quote . '$1'; // closing double quote if ( "'" != $closing_single_quote ) - $dynamic[ '/\'([\s.]|\Z)/' ] = $closing_single_quote . '$2'; // closing single quote + $dynamic[ '/\'([\s.]|\Z)/' ] = $closing_single_quote . '$1'; // closing single quote $dynamic[ '/\b(\d+)x(\d+)\b/' ] = '$1×$2'; // 9x9 (times)