Make WordPress Core


Ignore:
Timestamp:
11/05/2019 09:25:53 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Further improve documentation of known return types, plus other docs fixes.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/capabilities.php

    r46596 r46661  
    3434 * @param int    $user_id User ID.
    3535 * @param mixed  ...$args Optional further parameters, typically starting with an object ID.
    36  * @return array Actual capabilities for meta capability.
     36 * @return string[] Actual capabilities for meta capability.
    3737 */
    3838function map_meta_cap( $cap, $user_id, ...$args ) {
     
    839839 * @global array $super_admins
    840840 *
    841  * @return array List of super admin logins
     841 * @return string[] List of super admin logins.
    842842 */
    843843function get_super_admins() {
Note: See TracChangeset for help on using the changeset viewer.