[wp-trac] [WordPress Trac] #63017: Compression via PHP documented and in URL but not used anymore

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


#63017: Compression via PHP documented and in URL but not used anymore
--------------------------------------+---------------------
 Reporter:  zodiac1978                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.9
Component:  Script Loader             |     Version:  5.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+---------------------

Comment (by azaozz):

 The PR looks good but seems to need a bit more work. Use of these
 constants in plugins seem to be mostly in code that was copied from core
 at some point. Imho it is quite safe to assume that compression of scripts
 and stylesheets from PHP is undesirable, so setting the deprecated
 constants to `false` in core should be fully backwards compatible.

 Seems it would be best to add this together with the closely related
 #58302 (that also needs some more work). Even thinking these two tickets
 can be merged together.

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


More information about the wp-trac mailing list