compression_test


compression_test ( No parameters )

Defined at:

Description

Test support for compressing JavaScript from PHP

Outputs JavaScript that tests if compression from PHP works as expected and sets an option with the result. Has no effect when the current user is not an administrator. To run the test again the option 'can_compress_scripts' has to be deleted.

Related Functions

wp_ajax_wp_compression_test, gzip_compression, comment_text, codepress_footer_js, force_ssl_content

Top Google Results

User discussions

wpseek mobile