[wp-trac] [WordPress Trac] #30297: Notice for missing HTTP_USER_AGENT in get_calendar

WordPress Trac noreply at wordpress.org
Sun Nov 9 10:47:52 UTC 2014


#30297: Notice for missing HTTP_USER_AGENT in get_calendar
--------------------------+-----------------------------
 Reporter:  elusiveunit   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  1.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Just like in #27374, a notice can appear if `$_SERVER['HTTP_USER_AGENT']`
 isn't set.

 All other checks for HTTP_USER_AGENT I found were preceded by `$is_X` or
 `wp_is_mobile()`, which should stop any notices from happening.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30297>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list