Skip to content

Commit

Permalink
remove redundant reuse of output_compatibility_status_table
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Tyler <[email protected]>
  • Loading branch information
jazzsequence and pwtyler authored Aug 30, 2024
1 parent 84f9a9a commit 55c7236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/site-health.php
Original file line number Diff line number Diff line change
Expand Up @@ -842,14 +842,14 @@ function test_compatibility() {
}

if ( ! empty( $manual_fixes ) ) {
$manual_table = output_compatibility_status_table( $manual_fixes, false );
$description = sprintf(
'<p>%s</p>%s',
__( 'There are known compatibility issues with your active plugins that require manual fixes.', 'pantheon' ),
output_compatibility_status_table( $manual_fixes, false )
$manual_table
);

if ( ! empty( $review_fixes ) ) {
$manual_table = output_compatibility_status_table( $manual_fixes, false );
$review_table = output_compatibility_status_table( $review_fixes, false, true );
$description = sprintf(
'<p>%1$s</p>%2$s<p>%3$s</p>%4$s',
Expand Down

0 comments on commit 55c7236

Please sign in to comment.