Make WordPress Core


Ignore:
Timestamp:
04/24/2023 04:35:17 PM (2 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards.

Props laurentmagnin, pouicpouic, jbcouton, audrasjb.
See #57840.

File:
1 edited

Legend:

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

    r54133 r55681  
    220220
    221221    /**
    222      * Convert object to array.
     222     * Converts object to array.
    223223     *
    224224     * @since 4.4.0
     
    231231
    232232    /**
    233      * Get the children of a comment.
     233     * Gets the children of a comment.
    234234     *
    235235     * @since 4.4.0
     
    303303
    304304    /**
    305      * Add a child to the comment.
     305     * Adds a child to the comment.
    306306     *
    307307     * Used by `WP_Comment_Query` when bulk-filling descendants.
     
    316316
    317317    /**
    318      * Get a child comment by ID.
     318     * Gets a child comment by ID.
    319319     *
    320320     * @since 4.4.0
     
    332332
    333333    /**
    334      * Set the 'populated_children' flag.
     334     * Sets the 'populated_children' flag.
    335335     *
    336336     * This flag is important for ensuring that calling `get_children()` on a childless comment will not trigger
     
    346346
    347347    /**
    348      * Check whether a non-public property is set.
     348     * Determines whether a non-public property is set.
    349349     *
    350350     * If `$name` matches a post field, the comment post will be loaded and the post's value checked.
Note: See TracChangeset for help on using the changeset viewer.