Make WordPress Core

Changeset 19907


Ignore:
Timestamp:
02/10/2012 10:28:37 PM (13 years ago)
Author:
nacin
Message:

Use correct reference in regex. props danielbachhuber, fixes #20018.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r19900 r19907  
    9292            $dynamic[ '/"(\s|\S|\Z)/'              ] = $closing_quote . '$1'; // closing double quote
    9393        if ( "'" != $closing_single_quote )
    94             $dynamic[ '/\'([\s.]|\Z)/'             ] = $closing_single_quote . '$2'; // closing single quote
     94            $dynamic[ '/\'([\s.]|\Z)/'             ] = $closing_single_quote . '$1'; // closing single quote
    9595
    9696        $dynamic[ '/\b(\d+)x(\d+)\b/'              ] = '$1×$2'; // 9x9 (times)
Note: See TracChangeset for help on using the changeset viewer.