Make WordPress Core


Ignore:
Timestamp:
10/27/2019 07:33:12 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Correct invalid hook docblock placement.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-recent-comments.php

    r46164 r46604  
    8989                }
    9090
    91                 /**
    92                  * Filters the arguments for the Recent Comments widget.
    93                  *
    94                  * @since 3.4.0
    95                  * @since 4.9.0 Added the `$instance` parameter.
    96                  *
    97                  * @see WP_Comment_Query::query() for information on accepted arguments.
    98                  *
    99                  * @param array $comment_args An array of arguments used to retrieve the recent comments.
    100                  * @param array $instance     Array of settings for the current widget.
    101                  */
    10291                $comments = get_comments(
     92                        /**
     93                         * Filters the arguments for the Recent Comments widget.
     94                         *
     95                         * @since 3.4.0
     96                         * @since 4.9.0 Added the `$instance` parameter.
     97                         *
     98                         * @see WP_Comment_Query::query() for information on accepted arguments.
     99                         *
     100                         * @param array $comment_args An array of arguments used to retrieve the recent comments.
     101                         * @param array $instance     Array of settings for the current widget.
     102                         */
    103103                        apply_filters(
    104104                                'widget_comments_args',
Note: See TracChangeset for help on using the changeset viewer.