[wp-trac] [WordPress Trac] #32333: Define SCRIPT_DEBUG early, similarly to WP_DEBUG

WordPress Trac noreply at wordpress.org
Sun May 10 18:56:44 UTC 2015


#32333: Define SCRIPT_DEBUG early, similarly to WP_DEBUG
----------------------------+-----------------
 Reporter:  azaozz          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  4.3
Component:  Bootstrap/Load  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------
 Currently `SCRIPT_DEBUG` in defined in script-loader.php. That is about
 half-way through loading of WordPress.

 This will not impact any plugins as script-loader.php is already included
 by the time plugins are loaded. It will make `SCRIPT_DEBUG` always
 available and prevent errors similar to #32118.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32333>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list