WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#38000 closed defect (bug)

Visual mode editor is broken after update to 4.6.1 — at Version 2

Reported by: arnolem Owned by:
Milestone: 4.7 Priority: normal
Severity: minor Version: 4.6.1
Component: Editor Keywords: has-patch
Focuses: javascript, administration Cc:

Description (last modified by ocean90)

The comment javascript was added in [38349] breaks the javascript code if it is minified :

https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-editor.php#L1260

See attach for more information.
the patch is attached.

Change History (5)

@arnolem
4 years ago

JS Error

@arnolem
4 years ago

JS Browser interpretation

@arnolem
4 years ago

38000.patch

#1 @swissspidy
4 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.6.2

Good catch, thanks!

I think this should be fixed in 4.6.2.

#2 @ocean90
4 years ago

  • Description modified (diff)

@arnolem Welcome to Trac and thanks for your report!

What are you using to minify the HTML in the admin?

Note: See TracTickets for help on using tickets.