[wp-trac] [WordPress Trac] #55628: Numerous console errors on Theme/Plugin File Editor screens and syntax highlighting not working

WordPress Trac noreply at wordpress.org
Mon May 2 10:09:16 UTC 2022


#55628: Numerous console errors on Theme/Plugin File Editor screens and syntax
highlighting not working
---------------------------------------+-------------------------
 Reporter:  ndiego                     |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  6.0
Component:  General                    |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:  javascript
---------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  needs-patch => needs-patch needs-testing
 * version:   => trunk


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/55628/55628.revert-52937
 -for-testing-do-not-commit.diff 55628.revert-52937-for-testing-do-not-
 commit.diff] just reverts one change from [52937].

 Testing steps:
 1. Make sure you're on WP Core `trunk`.
 2. Run `npm run build:dev`.
 3. Add `define( 'SCRIPT_DEBUG', false );` to `wp-config.php`.
 4. Install and activate Gutenberg.
 5. Navigate to `Tools > Plugin File Editor`. Notice errors in the console.
 6. Apply
 [https://core.trac.wordpress.org/attachment/ticket/55628/55628.revert-52937
 -for-testing-do-not-commit.diff 55628.revert-52937-for-testing-do-not-
 commit.diff].
 7. Run `npm run build:dev`.
 8. Navigate to `Tools > Plugin File Editor`. Notice the errors are gone.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55628#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list