[wp-hackers] Display page only to admin..

Simon Wheatley simon at sweetinteraction.com
Mon May 18 22:49:40 GMT 2009


On Mon, May 18, 2009 at 6:24 PM, Jeremy Clarke <jer at simianuprising.com> wrote:
>
> Also Madalin: You don't need the Role Manager plugin to use
> current_user_can(), it's already available in WP, you only need it if
> you want to change the default capabilities each role/user has or to
> create new roles.
>

It's also pretty cool that you can make your role/capability changes
with Role Manager and then uninstall the plugin... then there's less
to go wrong if someone starts fiddling with settings and accidentally
revokes everyone's capabilities.

S


---
Sweet Interaction Ltd is Registered in England/Wales, no. 6610741
Registered office: 7 Malton Av, Manchester, M21 8AT


More information about the wp-hackers mailing list