Make WordPress Core

Changeset 53743


Ignore:
Timestamp:
07/20/2022 10:14:00 PM (2 years ago)
Author:
audrasjb
Message:

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

See #55646.

File:
1 edited

Legend:

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

    r53742 r53743  
    99
    1010/**
    11  * Determine if a comment exists based on author and date.
     11 * Determines if a comment exists based on author and date.
    1212 *
    1313 * For best performance, use `$timezone = 'gmt'`, which queries a field that is properly indexed. The default value
     
    4343
    4444/**
    45  * Update a comment with values provided in $_POST.
     45 * Updates a comment with values provided in $_POST.
    4646 *
    4747 * @since 2.0.0
     
    136136
    137137/**
    138  * Get the number of pending comments on a post or posts
     138 * Gets the number of pending comments on a post or posts.
    139139 *
    140140 * @since 2.3.0
     
    209209
    210210/**
    211  * Display error message at bottom of comments.
     211 * Displays error message at bottom of comments.
    212212 *
    213213 * @param string $msg Error Message. Assumed to contain HTML and be sanitized.
Note: See TracChangeset for help on using the changeset viewer.