Skip to content

Commit 533532b

Browse files
authored
Welcome: Use correct array key (#1697)
1 parent e83641c commit 533532b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/wp-admin/class-welcome-fields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public static function render_step_plugin_installed() {
224224
*/
225225
public static function render_step_site_health() {
226226
$health_issues = Health_Check::count_results();
227-
$total_issues = $health_issues['critical'] + $health_issues['warning'];
227+
$total_issues = $health_issues['critical'] + $health_issues['recommended'];
228228
$checked = '0' === \get_option( 'activitypub_checklist_health_check_issues', (string) $health_issues['critical'] );
229229
$step_class = $checked ? 'activitypub-step-completed' : '';
230230
$next_step = self::get_next_incomplete_step();

0 commit comments

Comments
 (0)