[wp-trac] [WordPress Trac] #52879: The SCRIPT_DEBUG constant is ignored when concatenating scripts

WordPress Trac noreply at wordpress.org
Mon Mar 22 03:43:38 UTC 2021


#52879: The SCRIPT_DEBUG constant is ignored when concatenating scripts
---------------------------+---------------------
 Reporter:  azaozz         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.8
Component:  Script Loader  |     Version:  2.8
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+---------------------

Comment (by azaozz):

 It seems this has been largely unnoticed as was very rare to need to load
 minified files when running from /src. However tests now run from /src and
 it seems minified files should be able to be used when testing. That can
 be done with SCRIPT_DEBUG = false.

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


More information about the wp-trac mailing list