[wp-trac] [WordPress Trac] #30821: Undefined offset: 0 in capabilities.php#L1119 - map_meta_cap()
WordPress Trac
noreply at wordpress.org
Mon Dec 22 23:11:49 UTC 2014
#30821: Undefined offset: 0 in capabilities.php#L1119 - map_meta_cap()
-----------------------------+------------------------------
Reporter: Ninos Ego | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------------------
Comment (by TobiasBg):
This could potentially hide developer/coding errors, as the capabilities
to which you want to add those checks should always be checked with a
corresponding object or ID.
Where exactly are you getting the error that you mention in the title of
the ticket?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30821#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list