[wp-trac] [WordPress Trac] #19648: mce_external_languages/plugins prints twice (was: mce_external_languages prints twice)

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 15:02:26 UTC 2012


#19648: mce_external_languages/plugins prints twice
--------------------------+------------------
 Reporter:  Cyapow        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  TinyMCE       |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by duck_):

 Also: #20030 and [attachment:ticket:20030:20030.diff 20030.diff]

 Bug can be replicated for external plugins with:

 {{{
 function trac20030_mce_external_plugins( $plugins ) {
    $plugins['myplugin1'] = WP_PLUGIN_URL . '/myplugin1.js';
    $plugins['myplugin2'] = WP_PLUGIN_URL . '/myplugin2.js';
    return $plugins;
 }
 add_filter( 'mce_external_plugins', 'trac20030_mce_external_plugins' );
 }}}

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


More information about the wp-trac mailing list