Make WordPress Core

Ticket #17144: 17144.tiny_mce_version.patch

File 17144.tiny_mce_version.patch, 830 bytes (added by SergeyBiryukov, 13 years ago)
  • wp-includes/class-wp-editor.php

     
    441441        function editor_js() {
    442442                global $tinymce_version, $concatenate_scripts, $compress_scripts;
    443443
    444                 /**
    445                  * Filter "tiny_mce_version" is deprecated
    446                  *
    447                  * The tiny_mce_version filter is not needed since external plugins are loaded directly by TinyMCE.
    448                  * These plugins can be refreshed by appending query string to the URL passed to "mce_external_plugins" filter.
    449                  * If the plugin has a popup dialog, a query string can be added to the button action that opens it (in the plugin's code).
    450                  */
    451444                $version = 'ver=' . $tinymce_version;
    452445                $tmce_on = !empty($this->mce_settings);
    453446