From 55c72366db2cc3f98af60819417d226cb8cdddbb Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Fri, 30 Aug 2024 10:54:07 -0600 Subject: [PATCH] remove redundant reuse of output_compatibility_status_table Co-authored-by: Phil Tyler --- inc/site-health.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/site-health.php b/inc/site-health.php index a6cb1d0..308106f 100644 --- a/inc/site-health.php +++ b/inc/site-health.php @@ -842,14 +842,14 @@ function test_compatibility() { } if ( ! empty( $manual_fixes ) ) { + $manual_table = output_compatibility_status_table( $manual_fixes, false ); $description = sprintf( '

%s

%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( '

%1$s

%2$s

%3$s

%4$s',