Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 4 years ago

#11377 closed enhancement (fixed)

create function add_plugins_page for Plugin sub-menu items

Reported by: williamsba1's profile williamsba1 Owned by: williamsba1's profile 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 15 years ago.
function add_plugins_page

Download all attachments as: .zip

Change History (8)

15 years ago

function add_plugins_page

#1 @williamsba1
15 years ago

  • Keywords has-patch added

#2 @scribu
15 years ago

  • Milestone changed from Unassigned to 3.0

#3 @ryan
14 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
14 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
14 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

This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.

6 years ago

This ticket was mentioned in Slack in #core-media by paaljoachim. View the logs.

4 years ago

Note: See TracTickets for help on using tickets.