[wp-trac] [WordPress Trac] #19648: mce_external_languages prints twice

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 22 21:43:37 UTC 2011


#19648: mce_external_languages prints twice
--------------------------+-----------------------------
 Reporter:  Cyapow        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When adding a language using the 'mce_external_languages' filter the
 contents get printed for each external plugin loaded.

 to fix wp-includes/class.wp-editor.php line 210 add
 {{{
 self::$ext_plugins .= $ext_plugins;
 }}}

 same file line 212 add
 {{{
 $ext_plugins = '';
 }}}


 (first one goes before the foreach loop and the second goes at the
 beginning of the loop)

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


More information about the wp-trac mailing list