[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 23:43:56 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 needs-testing commit |
--------------------------------------------+------------------
Comment (by nacin):
I would rather this line:
`$check_name = sanitize_title( $post_name, '', 'query'); //
sanitize_title_for_query(), but spelt out here for readability`
become:
`$check_name = sanitize_title( $post_name, '', 'old-save');`
'query' is semantically incorrect, and for it to work, it just needs to be
somrthing other than 'save'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19292#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list