Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#17172 closed enhancement (wontfix)

SCRIPT_DEBUG should be documented and defined false in wp-config-sample.php

Reported by: jorbin's profile jorbin Owned by:
Milestone: Priority: low
Severity: normal Version:
Component: Inline Docs Keywords: 2nd-opinion has-patch
Focuses: Cc:

Description

We define and document WP_DEBUG in wp-config-sample.php . It will be easier for people to contribute cs/jss if we define it as false as well to get

Related: #12236

Attachments (1)

r17658.diff (522 bytes) - added by jorbin 14 years ago.

Download all attachments as: .zip

Change History (4)

@jorbin
14 years ago

#1 follow-up: @nacin
14 years ago

I don't think this is necessary. It's only used for core development, rather than extensions. Might increase core CSS hacking. Also, unnecessarily lengtens the config file, which can be intimating.

#2 in reply to: ↑ 1 @westi
14 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Replying to nacin:

I don't think this is necessary. It's only used for core development, rather than extensions. Might increase core CSS hacking. Also, unnecessarily lengtens the config file, which can be intimating.

I agree it isn't necessary.

However, I would encourage plugins to support it for there CSS and JS files.

All the ones I write do now - that way you have readable, editable js/css and compressed versions too :)

#3 @nacin
14 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.