id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 33704 Reduce reliance on wp_is_mobile() johnbillion "User agent sniffing is bad. `wp_is_mobile()` isn't very reliable. In core it's actually used to detect if the device is a touch device (so that, among other things, elements that normally appear on hover are shown persistently and JavaScript for touch functionality is loaded). We should audit the use of `wp_is_mobile()` in core to see if replacing it in favour of client-side feature detection is possible. If so, `wp_is_mobile()` should be deprecated. Reported bugs with `wp_is_mobile()`: #24541, #21667, #24252. History: #20014" enhancement assigned normal Future Release General 3.4 normal has-patch needs-testing ui, javascript