Make WordPress Core


Ignore:
Timestamp:
10/28/2019 03:15:51 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Restore correct placement for duplicate hook reference in render_block_core_latest_comments().

Previously fixed in [46604], accidentally reverted in [46606].

See #48447, #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/latest-comments.php

    r46606 r46607  
    4242 */
    4343function render_block_core_latest_comments( $attributes = array() ) {
    44     // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php.
    4544    $comments = get_comments(
     45        /** This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php */
    4646        apply_filters(
    4747            'widget_comments_args',
Note: See TracChangeset for help on using the changeset viewer.