Support » Plugins » Hacks » wp-tinymce-schema.js

  • Resolved Mike


    What is the purpose of this file?

    It says at the top:

    * Duck-punched by WordPress core to support a sane schema superset.
     * Copyright, Moxiecode Systems AB
     * Released under LGPL License.

    But the file appears to contain much more than duck food!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    See for an explanation of Duck-punched. Yes, I had to look it up also. 😉

    The file wp-includes/js/tinymce/wp-tinymce-schema.js is referenced in these files.

    wp-includes/js/tinymce/wp-tinymce.php line 36
    wp-includes/class-wp-editor.php line 576

    It’s just part of the TinyMCE editor that’s bundled with WordPress. From looking at the source code (way above my head BTW) it’s just needed to make it all work.

    BTW I think wordpress has fully embraced the duck push/monkey_patch concept.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-tinymce-schema.js’ is closed to new replies.