mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Use correct reference in regex. props danielbachhuber, fixes #20018.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
787dd48e8b
commit
66f64c7c01
@ -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
Block a user