[wp-hackers] Missing Menus

Aaron Brazell abrazell at b5media.com
Mon May 21 14:14:52 GMT 2007

I think you're looking for a slight verbage change:

if( user_can('manage_options') )
Aaron Brazell
Director of Technology, b5media
"A Global New Media Company"

www:: www.b5media.com
my www: www.technosailor.com
phone:: 410-608-6620
fax:: 416-849-0347
skype:: technosailor

Everything contained in this email is confidential and stuff.

On May 19, 2007, at 6:53 PM, Andy Staines wrote:

> Well, all the same, it actually works for everyone except one user  
> from
> WP2.0 right up to 2.2. It also tallies with the examples in  the codex
> (http://codex.wordpress.org/Adding_Administration_Menus) and after  
> checking
> other plugins I am using here they also use this format. Mark J's  
> 'Subscribe
> to comments' for example  - OK it uses the 'add_management_page'  
> wrapper but
> still uses a level 8. So should the role be substituted now? As in the
> string -  'Administrator'?

More information about the wp-hackers mailing list