Changeset 53816
- Timestamp:
- 08/03/2022 01:07:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r53355 r53816 429 429 __( 'Your site has 1 active plugin, and it is up to date.' ) 430 430 ); 431 } else {431 } elseif ( $plugins_active > 0 ) { 432 432 $result['description'] .= sprintf( 433 433 '<p>%s</p>', … … 442 442 ) 443 443 ); 444 } else { 445 $result['description'] .= sprintf( 446 '<p>%s</p>', 447 __( 'Your site does not have any active plugins.' ) 448 ); 444 449 } 445 450 } … … 592 597 __( 'Your site has 1 installed theme, and it is up to date.' ) 593 598 ); 594 } else {599 } elseif ( $themes_total > 0 ) { 595 600 $result['description'] .= sprintf( 596 601 '<p>%s</p>', … … 604 609 $themes_total 605 610 ) 611 ); 612 } else { 613 $result['description'] .= sprintf( 614 '<p>%s</p>', 615 __( 'Your site does not have any installed themes.' ) 606 616 ); 607 617 }
Note: See TracChangeset
for help on using the changeset viewer.