[wp-trac] [WordPress Trac] #19292: Not found errors due to sanitization in sanitize_title_with_dashes

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 23 20:57:45 UTC 2011


#19292: Not found errors due to sanitization in sanitize_title_with_dashes
-----------------------------+------------------
 Reporter:  xknown           |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  highest omg bbq  |   Milestone:  3.3
Component:  General          |     Version:  3.3
 Severity:  blocker          |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------

Comment (by markjaquith):

 I liked dd32's approach better. But it doesn't use the newest sanitization
 if you manually update the slug. My patch adds that. Also adds a JS fix
 for if you click "Edit" for an old slug with bad chars, and then click
 "OK" without changing it. If you don't change it, it should be like
 Cancel, and not fire an XHR that will show you a new-style slug (which
 will not be used when you click "Update").

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


More information about the wp-trac mailing list