diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 6bb2599439..cac03b1fe3 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1074,6 +1074,7 @@ function wp_dashboard_recent_comments( $total_items = 5 ) { $comments_query['status'] = 'approve'; } + $comments_count = 0; do { $possible = get_comments( $comments_query ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f05c3e5d36..675ea871ab 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta4-61191'; +$wp_version = '6.9-beta4-61192'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.