mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@46607 git-svn-id: http://core.svn.wordpress.org/trunk@46404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6a713e53bc
commit
3a257f4018
@ -41,8 +41,8 @@ function wp_latest_comments_draft_or_post_title( $post = 0 ) {
|
||||
* @return string Returns the post content with latest comments added.
|
||||
*/
|
||||
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(
|
||||
/** This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php */
|
||||
apply_filters(
|
||||
'widget_comments_args',
|
||||
array(
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46606';
|
||||
$wp_version = '5.4-alpha-46607';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user