[wp-trac] [WordPress Trac] #58302: Deprecate and disable the unused compression_test() and wp_ajax_wp_compression_test()

WordPress Trac noreply at wordpress.org
Fri May 12 18:52:43 UTC 2023


#58302: Deprecate and disable the unused compression_test() and
wp_ajax_wp_compression_test()
---------------------------+---------------------
 Reporter:  azaozz         |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  6.3
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------

Comment (by azaozz):

 Looking at how to maintain backwards compatibility it seems the
 `can_compress_scripts` option should still exist. The `$compress_scripts`
 and `$compress_css` globals in `script_concat_settings()` should still
 respect `COMPRESS_SCRIPTS` and `COMPRESS_CSS` when defined, but should
 default to `false`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58302#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list