[wp-trac] [WordPress Trac] #25021: Improve sanitize_title_with_dashes % removal

WordPress Trac noreply at wordpress.org
Tue Aug 13 11:55:05 UTC 2013


#25021: Improve sanitize_title_with_dashes % removal
--------------------------+------------------------------
 Reporter:  duck_         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by duck_):

 [attachment:25021.negative-lookahead.diff​] replaces the placeholder
 system with a single regex with a negative lookahead. This fixes the
 issue, but is very slightly slower in my very limited testing.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25021#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list