We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wp-admin/admin-footer.php
1 parent f166ac5 commit d8c4ba3Copy full SHA for d8c4ba3
src/wp-admin/admin-footer.php
@@ -105,10 +105,10 @@
105
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
106
107
// get_site_option() won't exist when auto upgrading from <= 2.7.
108
-if ( function_exists( 'get_site_option' ) ) {
109
- if ( false === get_site_option( 'can_compress_scripts' ) ) {
110
- compression_test();
111
- }
+if ( function_exists( 'get_site_option' )
+ && false === get_site_option( 'can_compress_scripts' )
+) {
+ compression_test();
112
}
113
114
?>
0 commit comments