WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9675 closed defect (bug) (fixed)

SCRIPT_DEBUG broken

Reported by: hakre Owned by:
Milestone: 2.8 Priority: high
Severity: critical Version: 2.8
Component: Administration Keywords:
Focuses: Cc:

Description

defining SCRIPT_DEBUG in wp-config.php does not enable dev.js scripts any longer.

ways to reproduce:

  • grab yourself a fresh copy of wp 2.8 from svn
  • add alert('huhu.'); in front of /wp-admin/js/common.dev.js
  • log into the admin to see the dashboard

expected: a dialog box "huhu" should appear.

this bugs make it hard to check other peoples patches, develop or debug WP.

Change History (3)

comment:1 ryan5 years ago

Try with CONCATENATE_SCRIPTS set to false.

comment:2 azaozz5 years ago

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

(In [11119]) Don't concatenate scripts when SCRIPT_DEBUG is set, fixes #9675

comment:3 hakre5 years ago

  • Keywords developer-feedback removed
Note: See TracTickets for help on using tickets.