[wp-trac] [WordPress Trac] #25240: current_user_can( $capability, $args ) returns true for invalid $args (post ID)
WordPress Trac
noreply at wordpress.org
Fri Sep 6 14:29:36 UTC 2013
#25240: current_user_can( $capability, $args ) returns true for invalid $args (post
ID)
-------------------------------------------+------------------------------
Reporter: akshay_raje | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: 3.6
Severity: normal | Resolution:
Keywords: 2nd-opinion reporter-feedback |
-------------------------------------------+------------------------------
Comment (by akshay_raje):
Am sorry, but what I was doing is using a custom capability 'edit_job'
defined via add_role(). So possibly this bug is just restricted custom
capabilities.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25240#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list