Opened 3 years ago

Closed 3 years ago

#11377 closed enhancement (fixed)

create function add_plugins_page for Plugin sub-menu items

Reported by: williamsba1 Owned by: williamsba1
Priority: normal Milestone: 3.0
Component: General Version:
Severity: normal Keywords: has-patch
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 3 years ago.
function add_plugins_page

Download all attachments as: .zip

Change History (6)

function add_plugins_page

  • Keywords has-patch added
  • Milestone changed from Unassigned to 3.0

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

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   dd323 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.