[wp-trac] [WordPress Trac] #20018: Typo in new wptexturize() pattern

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 10 22:22:13 UTC 2012


#20018: Typo in new wptexturize() pattern
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 In r19795, the following:

 {{{$dynamic[ '/\'([\s.]|\Z)/'             ] = $closing_single_quote .
 '$2'; // closing single quote}}}

 should instead be:

 {{{$dynamic[ '/\'([\s.]|\Z)/'             ] = $closing_single_quote .
 '$1'; // closing single quote}}}

 The former removes the space from after the new pretty single quote

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20018>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list