[wp-trac] [WordPress Trac] #55297: The $is_edge global returns false.
WordPress Trac
noreply at wordpress.org
Fri Mar 4 02:04:30 UTC 2022
#55297: The $is_edge global returns false.
-------------------------------------------------+-------------------------
Reporter: costdev | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: good-first-bug has-testing-info | Focuses:
has-patch commit |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
This code may need to be more specific.
Via a [http://useragentstring.com/pages/useragentstring.php?name=All list
of user agents chosen at random], I discovered there is an old version of
Ubuntu called `Edgy Eft`.
It's an edge case (pun intended) but the change should probably account
for the version of Firefox that include the OS name.
Maybe check for `Edg/`, `EdgiOS/` and `EdgA/`. The annoyance here is that
you'll probably need to include the previous check for `edge` for older
versions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55297#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list