[wp-trac] [WordPress Trac] #2506: admin.php handles theme subpages
wrong
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 24 17:46:04 GMT 2006
#2506: admin.php handles theme subpages wrong
----------------------------+-----------------------------------------------
Id: 2506 | Status: new
Component: Administration | Modified: Fri Feb 24 17:46:04 2006
Severity: normal | Milestone:
Priority: normal | Version: 1.2
Owner: anonymous | Reporter: leflo
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/2506>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list