[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:22:37 UTC 2014
#30821: Undefined offset: 0 in capabilities.php#L1119 - map_meta_cap()
-----------------------------+------------------------
Reporter: Ninos Ego | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Role/Capability | Version: trunk
Severity: normal | Resolution: duplicate
Keywords: has-patch | Focuses:
-----------------------------+------------------------
Comment (by Ninos Ego):
Changed to {{{current_user_can( 'edit_post', get_the_ID() )}}}. Did not
know, that the second parameter is important here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30821#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list