[wp-trac] [WordPress Trac] #44455: PHP Doc for non-existing argument + Argument type mismatch
WordPress Trac
noreply at wordpress.org
Mon Jun 25 14:03:50 UTC 2018
#44455: PHP Doc for non-existing argument + Argument type mismatch
------------------------------------+-----------------------------
Reporter: subrataemfluence | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: docs, coding-standards |
------------------------------------+-----------------------------
File name:/wp-includes/capabilities.php
Non-existing arguments in Doc comments:
{{{
function map_meta_cap( $cap, $user_id ) {
...
}
function current_user_can( $capability ) {
...
}
}}}
Argument type mismatch:
{{{
function is_super_admin( $user_id = false ) {
...
}
}}}
Uploading a proposed patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44455>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list