[wp-trac] [WordPress Trac] #10797: curly quotes not stripped out slugs

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 7 20:57:40 UTC 2011


#10797: curly quotes not stripped out slugs
--------------------------+-----------------------
 Reporter:  alxndr        |       Owner:  ryan
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.3
Component:  Permalinks    |     Version:  2.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by nacin):

 Replying to [comment:12 scribu]:
 > Yeah, you're right, but the rest of the special chars are handled
 elsewhere and hooked into 'sanitize_title'.
 >
 > I'm not sure why nacin said we shouldn't rely on the filter.

 I was referring to something else.

 This logic probably makes the most sense in sanitize_title_with_dashes. We
 can alter the add_filter() call to let the context arg be passed in.

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


More information about the wp-trac mailing list