Docs: Add a file header to wp-includes/class-wp-roles.php, introduced in [33752].
Also adjusts the class DocBlock for `WP_Roles`. See #33413. See #33701. Built from https://develop.svn.wordpress.org/trunk@34394 git-svn-id: http://core.svn.wordpress.org/trunk@34358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* WordPress User Roles.
|
||||
* User API: WP_Roles class
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage User
|
||||
* @since 4.4.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Core class used to implement a user roles API.
|
||||
*
|
||||
* The role option is simple, the structure is organized by role name that store
|
||||
* the name in value of the 'name' key. The capabilities are stored as an array
|
||||
@@ -14,8 +22,6 @@
|
||||
* )
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @package WordPress
|
||||
* @subpackage User
|
||||
*/
|
||||
class WP_Roles {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user