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

WordPress Trac noreply at wordpress.org
Thu Jun 26 20:17:39 UTC 2025


#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.9
Component:  Script Loader                |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:
-----------------------------------------+---------------------

Comment (by azaozz):

 The [https://github.com/WordPress/wordpress-develop/pull/4502 PR] seems
 like a good start but was closed by the author.

 Frankly I don't think this functionality is useful any more. It was needed
 15 years ago to work around some weirdness in PHP config and server
 settings. All of these seem to have been fixed long time ago.

 Thinking the deprecated functions only need "to exist" to prevent fatal
 errors, but do not need to actually do any testing. Looking at server and
 PHP config would be enough.

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


More information about the wp-trac mailing list