Opened 20 years ago
Closed 19 years ago
#2506 closed defect (bug) (fixed)
admin.php handles theme subpages wrong
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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)
Note: See
TracTickets for help on using
tickets.
Theme submenus abound.
add_theme_page()