Make WordPress Core


Ignore:
Timestamp:
01/05/2021 05:14:24 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to types used in various docblocks.

See #51800, #52217

File:
1 edited

Legend:

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

    r49802 r49936  
    873873 * @since 3.0.0
    874874 *
    875  * @param int $user_id (Optional) The ID of a user. Defaults to the current user.
    876  * @return bool True if the user is a site admin.
     875 * @param int|false $user_id Optional. The ID of a user. Defaults to false, to check the current user.
     876 * @return bool Whether the user is a site admin.
    877877 */
    878878function is_super_admin( $user_id = false ) {
Note: See TracChangeset for help on using the changeset viewer.