wpseek.com
A WordPress-centric search engine for devs and theme authors
compression_test › WordPress Function
Since2.8.0
Deprecatedn/a
› compression_test ( No parameters )
| Defined at: |
|
| Codex: |
Tests 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