Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24067, comment 126


Ignore:
Timestamp:
02/13/2014 04:51:53 PM (11 years ago)
Author:
programmin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24067, comment 126

    initial v1  
    1616Although I see the pluginid in the mceInit, I don't see the url referenced anywhere in the source of the page. On a frontend page, if that matters.
    1717
    18 Is this a bug, or does MCE4 require different behavior?
     18Is this a bug, or does MCE4 require different behavior? Update: This seems to be caused by this, around line 250 of class-wp-editor.php:
     19{{{
     20if ( ! empty( $mce_external_plugins ) ) {
     21                                                /**
     22                                                 * This filter loads translations for external TinyMCE 3.x plugins.
     23                                                 *
     24                                                 * Takes an associative array 'plugin_name' => 'path', where path is the
     25                                                 * include path to the file. The language file should follow the same format as
     26                                                 * wp_mce_translation() and should define a variable $strings that
     27                                                 * holds all translated strings.
     28                                                 */
     29}}}
     30(It continues to load the plugin, IF a translation is specified. Custom mce_external_language wasn't required before, to load mce_external_plugins.)