[wp-trac] [WordPress Trac] #20202: Filter pre_post_type with sanitize_key()
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 21 15:04:01 UTC 2012
#20202: Filter pre_post_type with sanitize_key()
--------------------------+---------------------
Reporter: duck_ | Owner: duck_
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.4
Component: General | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by duck_):
* owner: => duck_
* status: new => closed
* resolution: => fixed
Comment:
In [20234]:
{{{
#!CommitTicketReference repository="" revision="20234"
Pass post_type through sanitize_key() instead of sanitize_user(). Fixes
#20202.
For consistency with the registration API and because it does less work.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20202#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list