[wp-trac] [WordPress Trac] #23429: undefined tinyMCE: no ?> at the end of load-scripts.php

WordPress Trac noreply at wordpress.org
Fri Feb 8 22:01:37 UTC 2013


#23429: undefined tinyMCE: no ?> at the end of load-scripts.php
-------------------------------------+--------------------------
 Reporter:  chaos1                   |       Type:  defect (bug)
   Status:  new                      |   Priority:  normal
Milestone:  Awaiting Review          |  Component:  General
  Version:  3.5.1                    |   Severity:  trivial
 Keywords:  ui-feedback ux-feedback  |
-------------------------------------+--------------------------
 I noticed a theme throwing an error in console today. I noticed "Uncaught
 ReferenceError: tinyMCE"

 In particular, switchEditors.switchto() and a few others like .do - where
 undefined. I thought that was strange. I googled the error and eventually
 found this thread: http://wordpress.org/support/topic/javascript-error-in-
 admin-panel-with-load-scriptsphp?replies=2

 Adding ?> to the end of load-scripts.php fixed the issue.

 Very strange bug. I have seen it on 2 installations now (4 referencing the
 two in the support forum thread) - but I am unable to recreate it anywhere
 else.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23429>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list