[wp-trac] [WordPress Trac] #18966: Notice when HTTP_USER_AGENT not set

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 17 19:55:37 UTC 2011


#18966: Notice when HTTP_USER_AGENT not set
----------------------------+------------------
 Reporter:  scribu          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by azaozz):

 When using IE conditional tags we have to call
 `do_action('admin_xml_ns');` and `language_attributes();` twice, see
 18966-3.patch. It's probably a tiny bit faster to check
 `$_SERVER['HTTP_USER_AGENT']` although not as precise.

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


More information about the wp-trac mailing list