[wp-hackers] current_user_can bug?
Dion Hulse (dd32)
wordpress at dd32.id.au
Mon Jun 21 10:05:27 UTC 2010
On Mon, 21 Jun 2010 20:00:49 +1000, Ash Goodman <ash at thinkinginvain.com>
> Is there something I am missing or is this a bug? According to my
> understanding of the documentation it should take role or capability
Both should work, I'd be triple checking that the capability is actually
being applied to the role.
Throw this in there beforehand:
$role = get_role('custom_role');
-- Dion Hulse / dd32
e: contact at dd32.id.au
More information about the wp-hackers