Make WordPress Core

Opened 20 years ago

Closed 19 years ago

#2506 closed defect (bug) (fixed)

admin.php handles theme subpages wrong

Reported by: leflo's profile leflo Owned by: ryan's profile ryan
Milestone: 2.1 Priority: normal
Severity: normal Version: 1.2
Component: Administration Keywords:
Focuses: Cc:

Description

The problem is here:

if (! file_exists(ABSPATH . "wp-content/plugins/$plugin_page"))

die(sprintf(('Cannot load %s.'), $plugin_page));

wich does not work if one wants to add a theme submenu.

Change History (2)

#1 @matt
20 years ago

  • Milestone set to 2.1
  • Owner changed from anonymous to ryan

#2 @mdawaffe
19 years ago

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

Theme submenus abound.

add_theme_page()

Note: See TracTickets for help on using tickets.