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

WordPress Trac noreply at wordpress.org
Fri Aug 28 17:30:11 UTC 2015


#33193: The global, $is_IE, doesn't properly detect Microsoft Edge
------------------------------------+------------------
 Reporter:  gregrickaby             |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.4
Component:  General                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-testing => has-patch dev-feedback


Comment:

 [attachment:33193.3.patch] simplifies the patch by moving the check for
 Edge to the beginning of our nice big block of `if` conditions. It also
 moves `wp_is_mobile()` into `wp-includes/functions.php` so we can
 implement unit tests.

 I added a bunch of user agent strings for testing. User agent strings are
 so messed up it's not even funny any more.

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


More information about the wp-trac mailing list