[wp-trac] [WordPress Trac] #35895: Widgets and Nav Menus components produce errors if user only has customize capability
WordPress Trac
noreply at wordpress.org
Mon Feb 22 05:30:32 UTC 2016
#35895: Widgets and Nav Menus components produce errors if user only has customize
capability
------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Customize | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"36611"]:
{{{
#!CommitTicketReference repository="" revision="36611"
Customize: Prevent PHP notice and JS error caused by widgets and nav menus
components if user only has `customize` capability.
Short-circuits components from initializing their hooks needlessly if
current user lacks required capability.
Fixes #35895.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35895#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list