[wp-trac] [WordPress Trac] #62259: wp-admin fails to honor style-sheet unless 'SCRIPT_DEBUG' is true.

WordPress Trac noreply at wordpress.org
Sat Oct 19 19:27:27 UTC 2024


#62259: wp-admin fails to honor style-sheet unless 'SCRIPT_DEBUG' is true.
-----------------------------+-----------------------------
 Reporter:  cjm51213         |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  6.6.2
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Newly installed 6.6.2. Front-end requests worked fine. /wp-admin requests,
 by contrast, were css-free. For example, /wp-admin/wp-site-editor.php
 reported that javascript was not enabled and Firefox clearly showed that
 it was.

 "define( 'SCRIPT_DEBUG', true );" was commented out in /wp-config.php.
 When I uncommented it, wp-admin began to behave normally.

 I'm pretty sure that there is a defect and 'SCRIPT_DEBUG' compensates for
 it. My unfounded suspicion is that jQuery was not being loaded.
 'SCRIPT_DEBUG' being on eliminated a wrong decision somewhere.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62259>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list