[wp-trac] [WordPress Trac] #55484: class-wp-editor.php line 1697

WordPress Trac noreply at wordpress.org
Thu Mar 31 01:46:37 UTC 2022


#55484: class-wp-editor.php line 1697
--------------------------+------------------------------
 Reporter:  karin2        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.9.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------

Comment (by dd32):

 Welcome to Trac @karin2!

 For others, here's the code in question:
 https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 editor.php?marks=1697-1699&rev=52978#L1692

 And here's what it'd look like if compressed..
 {{{
 ... window.wpActiveEditor = id;}}}}if ( typeof tinymce !== 'undefined' ) {
 ...
 }}}

 My undertstanding is that a `;` is not required in this case, as it's
 implicit after `}` or newlines.

 @karin2 Can you provide information as to what browser & error message
 you're seeing is?

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


More information about the wp-trac mailing list