[wp-testers] Error with theme install (2.9.rare)

scribu scribu at gmail.com
Sun Jun 14 11:28:13 GMT 2009


On Sun, Jun 14, 2009 at 2:10 PM, Jim Lynch <lakelandjim at gmail.com> wrote:

> It is checking: "if ( ! current_user_can('install_themes') )"
> I've been searching for that function, but haven't found it yet. Can anyone
> point me in the right direction?
>

For current_user_can, go here:
http://xref.yoast.com/2.8/nav.html?_functions/current_user_can.html

'install_themes' is not a function, but a capability. You will need a plugin
like Role Manager to
see what capabilities you have or not.

-- 
http://scribu.net


More information about the wp-testers mailing list