diff -r 34716fd837a4 -r be944660c56a wp/wp-admin/admin-footer.php --- a/wp/wp-admin/admin-footer.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-admin/admin-footer.php Wed Sep 21 18:19:35 2022 +0200 @@ -105,15 +105,15 @@ do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores // get_site_option() won't exist when auto upgrading from <= 2.7. -if ( function_exists( 'get_site_option' ) ) { - if ( false === get_site_option( 'can_compress_scripts' ) ) { - compression_test(); - } +if ( function_exists( 'get_site_option' ) + && false === get_site_option( 'can_compress_scripts' ) +) { + compression_test(); } ?>
- +