diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 0bacf34026..9e683d0b11 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -105,10 +105,10 @@ do_action( 'admin_print_footer_scripts' ); 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(); } ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index d14a53be06..609aaf310a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51052'; +$wp_version = '5.8-alpha-51053'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.