WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#17172 closed enhancement (wontfix)

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

Reported by: 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 3 years ago.

Download all attachments as: .zip

Change History (4)

jorbin3 years ago

comment:1 follow-up: nacin3 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.

comment:2 in reply to: ↑ 1 westi3 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 :)

comment:3 nacin3 years ago

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