[wp-trac] [WordPress Trac] #22152: tiny_mce.js content differs from wp-tinymce.js.gz
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 10 10:49:31 UTC 2012
#22152: tiny_mce.js content differs from wp-tinymce.js.gz
-----------------------------+--------------------------
Reporter: ali3n0 | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: TinyMCE
Version: 3.4.2 | Severity: normal
Keywords: |
-----------------------------+--------------------------
Hi folks,
we've noticed the problem in the object because we're not using gzip as
content-encoding (it seems a server side bug so far...) and the fall back
logic in wp-includes/js/tinymce/wp-tinymce.php doesn't work correctly
because of it (tiny_mce.js tries to include not existing files, such as
en.js).
The fix is quite straightforward (unzip wp-tinymce.js.gz into
tiny_mce.js), but as an additional feature request I'd suggest to add
support for "content-encoding: deflate" in the same way other php file do
for compression in the latest source, such as:
wp-admin/includes/ajax-actions.php
wp-admin/load-scripts.php
wp-admin/load-styles.php
and use gzip only as a fallback.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22152>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list