Make WordPress Core


Ignore:
Timestamp:
10/27/2019 07:33:12 PM (5 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-posts.php

    r46163 r46604  
    5757        $show_date = isset( $instance['show_date'] ) ? $instance['show_date'] : false;
    5858
    59         /**
    60          * Filters the arguments for the Recent Posts widget.
    61          *
    62          * @since 3.4.0
    63          * @since 4.9.0 Added the `$instance` parameter.
    64          *
    65          * @see WP_Query::get_posts()
    66          *
    67          * @param array $args     An array of arguments used to retrieve the recent posts.
    68          * @param array $instance Array of settings for the current widget.
    69          */
    7059        $r = new WP_Query(
     60            /**
     61             * Filters the arguments for the Recent Posts widget.
     62             *
     63             * @since 3.4.0
     64             * @since 4.9.0 Added the `$instance` parameter.
     65             *
     66             * @see WP_Query::get_posts()
     67             *
     68             * @param array $args     An array of arguments used to retrieve the recent posts.
     69             * @param array $instance Array of settings for the current widget.
     70             */
    7171            apply_filters(
    7272                'widget_posts_args',
Note: See TracChangeset for help on using the changeset viewer.