Make WordPress Core


Ignore:
Timestamp:
07/01/2021 09:11:48 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Descriptive improvements and corrections for various docblocks.

See #53399

File:
1 edited

Legend:

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

    r51084 r51300  
    263263 * @param int|WP_Comment $comment_ID Optional. WP_Comment or the ID of the comment for which to get the author's IP address.
    264264 *                                   Default current comment.
    265  * @return string Comment author's IP address.
     265 * @return string Comment author's IP address, or an empty string if it's not available.
    266266 */
    267267function get_comment_author_IP( $comment_ID = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
     
    274274     * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added.
    275275     *
    276      * @param string     $comment_author_IP The comment author's IP address.
     276     * @param string     $comment_author_IP The comment author's IP address, or an empty string if it's not available.
    277277     * @param int        $comment_ID        The comment ID.
    278278     * @param WP_Comment $comment           The comment object.
Note: See TracChangeset for help on using the changeset viewer.