[wp-trac] [WordPress Trac] #11169: Problem with $_SERVER['HTTP_ACCEPT_ENCODING'] in wp-tinymce.php

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 19 08:53:51 UTC 2009


#11169: Problem with $_SERVER['HTTP_ACCEPT_ENCODING'] in wp-tinymce.php
------------------------------+---------------------------------------------
 Reporter:  cutesquirrel      |       Owner:  westi    
     Type:  defect (bug)      |      Status:  new      
 Priority:  low               |   Milestone:  2.9      
Component:  Warnings/Notices  |     Version:  2.9      
 Severity:  trivial           |    Keywords:  has-patch
------------------------------+---------------------------------------------
Changes (by dd32):

  * keywords:  has-patch reporter-feedback => has-patch
  * milestone:  => 2.9


Comment:

 >  if we don't wontfix it then we could just silence it with
 @$_SERVER['HTTP_ACCEPT_ENCODING'] and save the isset check.

 It'd be cleaner to stick to using the isset() check simply to keep it in
 line with he rest of WordPress. However, Error reporting on files such as
 that one (where its only purpose is to output a file as fast as possible)
 could probably do with having the error reporing level set to off..

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11169#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list