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

WordPress Trac noreply at wordpress.org
Wed Feb 26 09:44:54 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:  Awaiting Review
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  docs
---------------------------+------------------------------
Changes (by zodiac1978):

 * keywords:  has-patch => needs-patch


Comment:

 Hi @sainathpoojary

 thanks for the patch! It looks great.

 I think we could modify some more of the inline docs:

 `* Several constants are used to manage the loading, concatenating and
 compression of scripts and CSS:`

 could maybe changed to something like:

 `* These constants are used to manage the loading and concatenating of
 scripts and CSS:`

 And

 {{{
  * The globals $concatenate_scripts, $compress_scripts and $compress_css
 can be set by plugins
  * to temporarily override the above settings. Also a compression test is
 run once and the result is saved
 }}}

 could maybe changed to:

 {{{
  * The global $concatenate_scripts can be set by plugins to temporarily
 override the above
  * setting.
 }}}

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


More information about the wp-trac mailing list