[wp-trac] [WordPress Trac] #41200: Documentation outdated for current_user_can()
WordPress Trac
noreply at wordpress.org
Thu Jun 29 09:52:11 UTC 2017
#41200: Documentation outdated for current_user_can()
--------------------------+-----------------------------
Reporter: kluny | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
https://core.trac.wordpress.org/browser/tags/4.8/src/wp-
includes/capabilities.php#L538
Doc says the function takes two parameters, but the source code allows for
only one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41200>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list