[wp-trac] [WordPress Trac] #55297: The $is_edge global returns false.

WordPress Trac noreply at wordpress.org
Mon Mar 7 02:36:17 UTC 2022

#55297: The $is_edge global returns false.
 Reporter:  costdev                              |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-testing-info      |     Focuses:
  has-patch commit                               |
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"52825" 52825]:
 #!CommitTicketReference repository="" revision="52825"
 General: Improve MS Edge user-agent sniff.

 Update the `$is_edge` global to be `true` if the browser's user-agent
 contains `Edg` rather than `Edge`. Microsoft have dropped an E from the UA

 Refer to [https://docs.microsoft.com/en-us/microsoft-edge/web-platform
 Microsoft's documentation on detecting edge].

 Props costdev, abdullahramzan, mukesh27, Boniu91.
 Fixes #55297.

Ticket URL: <https://core.trac.wordpress.org/ticket/55297#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list