Docs: Use third-person singular verbs for function descriptions in `wp-includes/capabilities.php`, as per docs standards.
Props azouamauriac. See #54729. Built from https://develop.svn.wordpress.org/trunk@53249 git-svn-id: http://core.svn.wordpress.org/trunk@52838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
365afa3b9c
commit
5d93f8d388
|
@ -820,7 +820,7 @@ function wp_roles() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve role object.
|
||||
* Retrieves role object.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
|
@ -832,7 +832,7 @@ function get_role( $role ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Add role, if it does not exist.
|
||||
* Adds a role, if it does not exist.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
|
@ -850,7 +850,7 @@ function add_role( $role, $display_name, $capabilities = array() ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Remove role, if it exists.
|
||||
* Removes a role, if it exists.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
|
@ -861,7 +861,7 @@ function remove_role( $role ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieve a list of super admins.
|
||||
* Retrieves a list of super admins.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
|
@ -880,7 +880,7 @@ function get_super_admins() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Determine if user is a site admin.
|
||||
* Determines whether user is a site admin.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.0-beta2-53248';
|
||||
$wp_version = '6.0-beta2-53249';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue