[wp-hackers] What does user_can really check?

24/7 24-7 at gmx.net
Fri Dec 2 16:57:27 UTC 2011


> Please don't reach underneath the API to do things. This is how 
plugins break. :-)

Just trying to get around how it's supposed to work :) Btw: Using GLOBALS 
instead of global to _not_ modify any global.

The Q I was bringing up was simply: has_cap() doesn't check for $grant.

Kaiser.


More information about the wp-hackers mailing list