Make WordPress Core


Ignore:
Timestamp:
10/10/2020 08:00:30 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    r48782 r49120  
    11741174     * @since 4.7.0
    11751175     *
    1176      * @param integer $user_id User ID.
    1177      * @param array   $roles   New user roles.
     1176     * @param int  $user_id User ID.
     1177     * @param array $roles   New user roles.
    11781178     * @return true|WP_Error True if the current user is allowed to make the role change,
    11791179     *                       otherwise a WP_Error object.
Note: See TracChangeset for help on using the changeset viewer.