WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#797 closed defect (bug) (fixed)

Plugins can't have separate Options and Management pages in one plugin file

Reported by: morganiq Owned by: ryan
Milestone: Priority: normal
Severity: minor Version: 1.5
Component: Administration Keywords:
Focuses: Cc:

Description

Plugins can't have separate Options and Management pages in the same plugin file: single-file plugins can currently only have one or the other.

Additionally, if the plugin's custom Options page is clicked from the Options submenu, the resulting page uses the Mange submenu rather than the Options submenu.

Change History (7)

comment:1 @morganiq10 years ago

  • Patch set to No

comment:2 @ryan10 years ago

The plugin must use separate files for the options and management pages, unless you have something in mind to fix it. I see that you and Owen were discussing different approaches.

edited on: 02-05-05 21:12

comment:3 @morganiq10 years ago

Sorry, yes, I should have specified "in one file." My second patch to #785 would allow for this, and Owen & I have been debating aspects of its implementation.

comment:4 @morganiq10 years ago

  • Summary changed from Plugins can't have separate Options and Management pages to Plugins can't have separate Options and Management pages in one plugin file

comment:5 @morganiq10 years ago

I've updated the summary and description to reflect the fact that this only applies to single-file plugins.

comment:6 @ryan10 years ago

  • Owner changed from anonymous to rboren
  • Status changed from new to assigned

comment:7 @ryan10 years ago

  • fixed_in_version set to 1.5
  • Resolution changed from 10 to 20
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.