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. git-svn-id: https://develop.svn.wordpress.org/trunk@46607 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6352823e6e
commit
7548aa86ba
@ -41,8 +41,8 @@ function wp_latest_comments_draft_or_post_title( $post = 0 ) {
|
|||||||
* @return string Returns the post content with latest comments added.
|
* @return string Returns the post content with latest comments added.
|
||||||
*/
|
*/
|
||||||
function render_block_core_latest_comments( $attributes = array() ) {
|
function render_block_core_latest_comments( $attributes = array() ) {
|
||||||
// This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php.
|
|
||||||
$comments = get_comments(
|
$comments = get_comments(
|
||||||
|
/** This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php */
|
||||||
apply_filters(
|
apply_filters(
|
||||||
'widget_comments_args',
|
'widget_comments_args',
|
||||||
array(
|
array(
|
||||||
|
Loading…
Reference in New Issue
Block a user