Make WordPress Core

Opened 21 years ago

Closed 20 years ago

#2506 closed defect (bug) (fixed)

admin.php handles theme subpages wrong

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

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 → 2.1
  • Owner changed from anonymous to ryan

#2 @mdawaffe
20 years ago

  • Resolution → fixed
  • Status new → closed

Theme submenus abound.

add_theme_page()

Note: See TracTickets for help on using tickets.