mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Docs: Standardise the type name for booleans and integers.
This brings these docs inline with the documentation standards. Props ravipatel, justinahinon Fixes #51426 git-svn-id: https://develop.svn.wordpress.org/trunk@49120 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1173,8 +1173,8 @@ class WP_REST_Users_Controller extends WP_REST_Controller {
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param integer $user_id User ID.
|
||||
* @param array $roles New user roles.
|
||||
* @param int $user_id User ID.
|
||||
* @param array $roles New user roles.
|
||||
* @return true|WP_Error True if the current user is allowed to make the role change,
|
||||
* otherwise a WP_Error object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user