Opened 4 days ago
Last modified 4 days ago
#48449 new defect (bug)
Parameters differ between instances of widget_comments_args filter
Reported by: | johnbillion | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Comments | Keywords: | needs-patch |
Focuses: | Cc: | ||
PR Number: |
Description
The widget_comments_args
filter is applied in two different places, but with different parameters:
- https://core.trac.wordpress.org/browser/tags/5.2.4/src/wp-includes/widgets/class-wp-widget-recent-comments.php?marks=99-107#L86
- https://core.trac.wordpress.org/browser/tags/5.2.4/src/wp-includes/blocks/latest-comments.php?marks=46-53#L35
Note that the second instance doesn't have access to an $instance
.
Note: See
TracTickets for help on using
tickets.
Related: #38017