Make WordPress Core

Changeset 53249


Ignore:
Timestamp:
04/24/2022 09:30:21 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in wp-includes/capabilities.php, as per docs standards.

Props azouamauriac.
See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/capabilities.php

    r52157 r53249  
    821821
    822822/**
    823  * Retrieve role object.
     823 * Retrieves role object.
    824824 *
    825825 * @since 2.0.0
     
    833833
    834834/**
    835  * Add role, if it does not exist.
     835 * Adds a role, if it does not exist.
    836836 *
    837837 * @since 2.0.0
     
    851851
    852852/**
    853  * Remove role, if it exists.
     853 * Removes a role, if it exists.
    854854 *
    855855 * @since 2.0.0
     
    862862
    863863/**
    864  * Retrieve a list of super admins.
     864 * Retrieves a list of super admins.
    865865 *
    866866 * @since 3.0.0
     
    881881
    882882/**
    883  * Determine if user is a site admin.
     883 * Determines whether user is a site admin.
    884884 *
    885885 * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.