mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Use third-person singular verbs for function descriptions in wp-includes/capabilities.php, as per docs standards.
Props azouamauriac. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@53249 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user