Skip to content
Commit 37b10e0a authored by Jon Cave's avatar Jon Cave
Browse files

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
parent 5aa3e902
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment