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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Theme submenus abound.
add_theme_page()