[wp-trac] [WordPress Trac] #18533: Allow menu not to have a Dashboard

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 28 01:08:07 UTC 2011


#18533: Allow menu not to have a Dashboard
-------------------------+-----------------------------
 Reporter:  llucax       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Menus        |    Version:  3.2.1
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 Hi, I'm using a plug-in (Advanced Access Manager) which let you remove
 some menus for certain users, but when removing the Dashboard menu item, I
 get a notice about an undefined index in the Wordpress code.

 Attached is a very simple patch to avoid this notice, which is very
 annoying in DEBUG mode.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18533>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list