[wp-trac] [WordPress Trac] #5266: Removal of more PHP Warnings
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 27 09:35:29 GMT 2007
#5266: Removal of more PHP Warnings
----------------------------+-----------------------------------------------
Reporter: Viper007Bond | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3.2
Component: Administration | Version: 2.3
Severity: normal | Keywords: has-patch 2nd-opinion
----------------------------+-----------------------------------------------
I'm using `/wp-admin/includes/admin.php` and `/wp-admin/menu.php` from
outside of the admin area (to get a list of menu items). Doing so
generates a PHP error.
Attached patch should fix it. Logic needs a looking at though to make sure
I didn't break anything.
--
Ticket URL: <http://trac.wordpress.org/ticket/5266>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list