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

WordPress Trac noreply at wordpress.org
Sun Oct 26 06:21:22 UTC 2025


#6696: wordpress fails to sanitize ’
-------------------------+------------------------
 Reporter:  sushubh      |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  lowest       |   Milestone:
Component:  General      |     Version:  2.5
 Severity:  minor        |  Resolution:  duplicate
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------

Comment (by acshym):

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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/6696#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list