Skip to content

Commit

Permalink
we don't need to use OB if we say pass false to the $output param
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Aug 27, 2024
1 parent dd2d315 commit 4ac61b8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions inc/site-health.php
Original file line number Diff line number Diff line change
Expand Up @@ -824,12 +824,8 @@ function test_compatibility() {
);

if ( ! empty( $review_fixes ) ) {
ob_start();
output_compatibility_status_table( $manual_fixes, true );
$manual_table = ob_get_clean();
ob_start();
output_compatibility_status_table( $review_fixes, true, true );
$review_table = ob_get_clean();
$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',
__( 'There are known compatibility issues with your active plugins that require manual fixes.', 'pantheon' ),
Expand Down

0 comments on commit 4ac61b8

Please sign in to comment.