Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:57:00 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove extra spaces from @param tags.

Per the documentation standards, @param tags should be aligned with each other, but not with the @return tag.

See #49572.

File:
1 edited

Legend:

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

    r48109 r48110  
    155155 * @since 4.1.0 Refactored to leverage WP_Comment_Query over a direct query.
    156156 *
    157  * @param  int   $post_id The ID of the post.
    158  * @param  array $args    Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
     157 * @param int   $post_id The ID of the post.
     158 * @param array $args    Optional. See WP_Comment_Query::__construct() for information on accepted arguments.
    159159 * @return int|array The approved comments, or number of comments if `$count`
    160160 *                   argument is true.
     
    35613561 * @since 4.9.6
    35623562 *
    3563  * @param  array $erasers An array of personal data erasers.
     3563 * @param array $erasers An array of personal data erasers.
    35643564 * @return array An array of personal data erasers.
    35653565 */
     
    35783578 * @since 4.9.6
    35793579 *
    3580  * @param  string $email_address The comment author email address.
    3581  * @param  int    $page          Comment page.
     3580 * @param string $email_address The comment author email address.
     3581 * @param int    $page          Comment page.
    35823582 * @return array
    35833583 */
Note: See TracChangeset for help on using the changeset viewer.