[wp-trac] [WordPress Trac] #12237: Merge STYLE_DEBUG with SCRIPT_DEBUG
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 15 10:35:11 UTC 2010
#12237: Merge STYLE_DEBUG with SCRIPT_DEBUG
----------------------------+-----------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Administration | Version:
Severity: normal | Keywords: dev-feedback
----------------------------+-----------------------------------------------
Defining STYLE_DEBUG by itself does not serve concatenated development
scripts, because both scripts and styles depend on the same concatenation
global (and overriding CONCATENATE_SCRIPTS constant).
It will serve the development version of colors, but that's about it.
I suggest we get rid of STYLE_DEBUG and change all of its references to
SCRIPT_DEBUG.
The alternative would be to allow concatenation to be controlled
independently, but that would introduce another global and change existing
behavior, having an effect outside of debugging. Removing STYLE_DEBUG has
no real downside and makes it one less constant for developers to define.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12237>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list