[wp-trac] Re: [WordPress Trac] #6696: wordpress fails to sanitize ’

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 27 17:33:40 GMT 2008


#6696: wordpress fails to sanitize ’
-------------------------+--------------------------------------------------
 Reporter:  sushubh      |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  lowest       |    Milestone:  2.9      
Component:  General      |      Version:  2.5      
 Severity:  minor        |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Changes (by jacobsantos):

  * keywords:  post slugs => needs-patch

Comment:

 !WordPress should treat ’ as ', but ’ should also be removed from the
 rule: {{{[^%a-z0-9 _-]}}}, but does not for some reason.

 You can probably get away with creating a plugin for now that hooks into
 the {{{sanitize_title}}} filter and removes it that way.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6696#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list