Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#18533 closed defect (bug) (duplicate)

Allow menu not to have a Dashboard

Reported by: llucax Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.2.1
Component: Menus Keywords: has-patch
Focuses: Cc:


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.

Attachments (1)

wp.patch (888 bytes) - added by llucax 4 years ago.
Trivial patch

Download all attachments as: .zip

Change History (2)

@llucax4 years ago

Trivial patch

comment:1 @ocean904 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Type changed from enhancement to defect (bug)
Note: See TracTickets for help on using tickets.