[wp-trac] [WordPress Trac] #15788: wp-tinymce.php sends the wrong uncompressed file

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 12 19:47:58 UTC 2010


#15788: wp-tinymce.php sends the wrong uncompressed file
--------------------------+-------------------------------------------------
 Reporter:  fejesjoco     |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.0.2          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 If compression is enabled in the browser, it sends wp-tinymce.js.gz which
 works fine. If not (try in Firefox about:config -> network.http.accept-
 encoding), it sends tiny_mce.js. The first problem you see in browsers is
 that there is no 'go' method in the latter one. These two javascript files
 seem very different, the compressed one has a whole lot of added
 functionality. Solving it is easy: ship the same javascript file
 compressed and uncompressed. You might want to consider on-the-fly
 compressing/decompressing and keeping only one copy of this file in the
 source code to completely avoid future situations like this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15788>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list