diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index bafd5f0904769..080db718f9081 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -2495,6 +2495,9 @@ function get_media_states( $post ) { * @since 2.8.0 */ function compression_test() { + if ( ! current_user_can( 'manage_options' ) ) { + return; + } ?>