[wp-trac] [WordPress Trac] #33193: The global, $is_IE, doesn't properly detect Microsoft Edge

WordPress Trac noreply at wordpress.org
Thu Jul 30 00:39:03 UTC 2015


#33193: The global, $is_IE, doesn't properly detect Microsoft Edge
--------------------------+-----------------------------
 Reporter:  gregrickaby   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Because Microsoft Edge has incorporated a few different browser engines,
 the user agent reports itself as "Mozilla", "Chrome", "Safari", "Gecko",
 and finally "Edge".

 User agent:
 {{{
 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
 Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.<OS build number>
 }}}

 Source: https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx

 Attached is a fix so that Microsoft Edge will only trip the $is_IE
 conditional. Tested on CrossBrowserTesting.com.

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


More information about the wp-trac mailing list