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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 17 00:47:51 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:
 Severity:  normal          |   Keywords:
----------------------------+-----------------
 In [18975], yet another global was introduced: $wp_htmltag_class.

 Unlike the other globals ($is_winIE, $is_opera  etc.), it doesn't check if
 {{{$_SERVER['HTTP_USER_AGENT']}}} exists, causing a notice.

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


More information about the wp-trac mailing list