WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 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:

Description

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 6 years ago.
function add_plugins_page

Download all attachments as: .zip

Change History (6)

@williamsba16 years ago

function add_plugins_page

comment:1 @williamsba16 years ago

  • Keywords has-patch added

comment:2 @scribu6 years ago

  • Milestone changed from Unassigned to 3.0

comment:3 @ryan5 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.

comment:4 @williamsba15 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.

comment:5 @dd325 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.