mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix docs for WP_User::allcaps
:
The `allcaps` property of the `WP_User` class represents all of the caps of the user, not the caps of the user's role. Introduced in [26126]. Props dlh. Fixes #30852. Built from https://develop.svn.wordpress.org/trunk@31013 git-svn-id: http://core.svn.wordpress.org/trunk@30994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
96558ac3c3
commit
586c1ac7bc
@ -985,7 +985,7 @@ class WP_User {
|
||||
* @since 2.0.0
|
||||
* @since 3.7.0 Added the user object.
|
||||
*
|
||||
* @param array $allcaps An array of all the role's capabilities.
|
||||
* @param array $allcaps An array of all the user's capabilities.
|
||||
* @param array $caps Actual capabilities for meta capability.
|
||||
* @param array $args Optional parameters passed to has_cap(), typically object ID.
|
||||
* @param WP_User $user The user object.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31012';
|
||||
$wp_version = '4.2-alpha-31013';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user