[wp-trac] [WordPress Trac] #15982: Attachment taxonomies broken
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 26 05:41:59 UTC 2010
#15982: Attachment taxonomies broken
--------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: General | Version:
Severity: blocker | Resolution:
Keywords: |
--------------------------+------------------
Comment (by nacin):
sanitize_key() is killing the colons. In 3.0, we took $object_type at face
value. (An unstrict sanitize_user doesn't strip the colons, either.)
Suggest we simply revert [16822] for taxonomy.php. It was a good faith
change, but we didn't previously sanitize there, and there's no real need
either. The object type has to match a sanitized key anyway (usually), so
it doesn't hurt to accept anything here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15982#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list