[wp-trac] [WordPress Trac] #59370: Update wp_is_mobile() to account for Sec-CH-UA-Mobile request header
WordPress Trac
noreply at wordpress.org
Wed Sep 20 20:49:27 UTC 2023
#59370: Update wp_is_mobile() to account for Sec-CH-UA-Mobile request header
--------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.4
Component: General | Version: 3.4
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"56638" 56638]:
{{{
#!CommitTicketReference repository="" revision="56638"
General: Account for `Sec-CH-UA-Mobile` client hint request header in
`wp_is_mobile()`.
Add missing test coverage for `wp_is_mobile()`.
Fixes #59370.
Props westonruter, flixos90.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59370#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list