Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#11377 closed enhancement (fixed)

create function add_plugins_page for Plugin sub-menu items

Reported by: williamsba1 Owned by: williamsba1
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:


There is a designated function to create sub-menu items for every menu except for the plugins menu. I'm proposing creating a function named add_plugins_page which would work identical to the other menu functions.

Proposed patch is attached

Attachments (1)

add_plugins_page.patch (1.3 KB) - added by williamsba1 8 years ago.
function add_plugins_page

Download all attachments as: .zip

Change History (6)

8 years ago

function add_plugins_page

#1 @williamsba1
8 years ago

  • Keywords has-patch added

#2 @scribu
8 years ago

  • Milestone changed from Unassigned to 3.0

#3 @ryan
8 years ago

It wasn't added in the past because we didn't really want things being added under the plugins menu. I'm not sure where we stand now. Since plugins put lots of stuff under there anyway, it probably doesn't matter anymore and we should just add the function.

#4 @williamsba1
8 years ago

I think it should be added for consistency. Most developers know by now how to add a menu to Plugins SubPanel using add_submenu_page function, so might as well add in the new function.

#5 @dd32
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13082]) Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377

Note: See TracTickets for help on using tickets.