[wp-trac] [WordPress Trac] #15469: Undefined offset on pages without permission
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 18 15:24:28 UTC 2010
#15469: Undefined offset on pages without permission
--------------------------+-------------------------------------------------
Reporter: wpdavis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: minor | Keywords: has-patch
--------------------------+-------------------------------------------------
On pages in wp-admin/network, I was getting this error if multisite was
not enabled:
Notice: Undefined offset: 0 in wp-admin/includes/menu.php on line 152
Attached patch moves the call to add_menu_classes(); until after the check
if the user can access the page.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15469>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list