diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php
index 9839ae358f..c38f5dc664 100644
|
a
|
b
|
class WP_Site_Health {
|
| 457 | 457 | $allowed_theme_count++; |
| 458 | 458 | } |
| 459 | 459 | |
| 460 | | // If there's a default theme installed, we count that as allowed as well. |
| 461 | | if ( $has_default_theme ) { |
| | 460 | // If there's a default theme installed and not in use, we count that as allowed as well. |
| | 461 | if ( $has_default_theme && ! $using_default_theme ) { |
| 462 | 462 | $allowed_theme_count++; |
| 463 | 463 | } |
| 464 | 464 | |