From 5d93f8d388f8e8e7370b69e8965fd52109b893e5 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 24 Apr 2022 21:32:06 +0000 Subject: [PATCH] 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 --- wp-includes/capabilities.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 5ee344b390..2d5cd9a958 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 0146ac9132..0d06c7ed46 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.