Opened 9 years ago
Closed 9 years ago
#32333 closed defect (bug) (fixed)
Define SCRIPT_DEBUG early, similarly to WP_DEBUG
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bootstrap/Load | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
We will still need the check at the top of script-loader.php as that file is included directly when concatenating scripts and stylesheets.