[wp-trac] [WordPress Trac] #33704: Reduce reliance on wp_is_mobile()
WordPress Trac
noreply at wordpress.org
Thu Oct 6 15:51:55 UTC 2016
#33704: Reduce reliance on wp_is_mobile()
-------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, javascript
-------------------------+-----------------------------
Comment (by helen):
In [changeset:"38739"]:
{{{
#!CommitTicketReference repository="" revision="38739"
Login: Don't rely on `wp_is_mobile()` for functionality.
Making behavior changes based on some broad definition of what mobile is
rarely, if ever, makes sense. Each bit of functionality should be more
clearly targeted, whether that's for screen size, performance, or some
kind of touch capability.
props akibjorklund.
see #33704.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33704#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list