Use correct reference in regex. props danielbachhuber, fixes #20018.
git-svn-id: https://develop.svn.wordpress.org/trunk@19907 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dd9c09eff5
commit
9f6709c599
|
@ -91,7 +91,7 @@ function wptexturize($text) {
|
||||||
if ( '"' != $closing_quote )
|
if ( '"' != $closing_quote )
|
||||||
$dynamic[ '/"(\s|\S|\Z)/' ] = $closing_quote . '$1'; // closing double quote
|
$dynamic[ '/"(\s|\S|\Z)/' ] = $closing_quote . '$1'; // closing double quote
|
||||||
if ( "'" != $closing_single_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)
|
$dynamic[ '/\b(\d+)x(\d+)\b/' ] = '$1×$2'; // 9x9 (times)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue