Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:09:04 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Another pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48579 r48590  
    545545 * @since 4.4.0 Added the ability for `$comment_ID` to also accept a WP_Comment object.
    546546 *
    547  * @param string          $format     Optional. The format of the date. Default user's setting.
    548  * @param int|WP_Comment  $comment_ID WP_Comment or ID of the comment for which to get the date.
    549  *                                    Default current comment.
     547 * @param string         $format     Optional. The format of the date. Default user's setting.
     548 * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to get the date.
     549 *                                   Default current comment.
    550550 * @return string The comment's date.
    551551 */
     
    963963 * @see Walker_Comment::comment()
    964964 *
    965  * @param int|WP_Comment  $comment_ID WP_Comment or ID of the comment for which to get the text.
    966  *                                    Default current comment.
    967  * @param array           $args       Optional. An array of arguments. Default empty array.
     965 * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to get the text.
     966 *                                   Default current comment.
     967 * @param array          $args       Optional. An array of arguments. Default empty array.
    968968 * @return string The comment content.
    969969 */
     
    10091009 * @see Walker_Comment::comment()
    10101010 *
    1011  * @param int|WP_Comment  $comment_ID WP_Comment or ID of the comment for which to print the text.
    1012  *                                    Default current comment.
    1013  * @param array           $args       Optional. An array of arguments. Default empty array.
     1011 * @param int|WP_Comment $comment_ID WP_Comment or ID of the comment for which to print the text.
     1012 *                                   Default current comment.
     1013 * @param array          $args       Optional. An array of arguments. Default empty array.
    10141014 */
    10151015function comment_text( $comment_ID = 0, $args = array() ) {
     
    16341634 * @since 4.4.0 Added the ability for `$comment` to also accept a WP_Comment object.
    16351635 *
    1636  * @param array $args {
     1636 * @param array          $args {
    16371637 *     Optional. Override default arguments.
    16381638 *
     
    17791779 * @since 2.7.0
    17801780 *
    1781  * @param array $args {
     1781 * @param array       $args {
    17821782 *     Optional. Override default arguments.
    17831783 *
Note: See TracChangeset for help on using the changeset viewer.