Coding Standards: Initialize $comments_count before loop in case not set during initial iteration.
Follow-up to [60643]. Props westonruter, mindctrl. See #56499. Fixes #64223. Built from https://develop.svn.wordpress.org/trunk@61192 git-svn-id: http://core.svn.wordpress.org/trunk@60528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user