Skip to content
Commit fa860b4a authored by Andrew Nacin's avatar Andrew Nacin
Browse files

Replace check_permissions() with ajax_user_can(). New method returns...

Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.

git-svn-id: https://core.svn.wordpress.org/trunk@16992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent bd9b8ccd
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