Pass post_type through sanitize_key() instead of sanitize_user(). Fixes #20202.
For consistency with the registration API and because it does less work. git-svn-id: https://core.svn.wordpress.org/trunk@20234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment