Support » Requests and Feedback » Mobile devices

  • Are there any plans to enhance wp_is_mobile to provide better results

    There are a huge number of plugins that add mobile device detection but there is no central reliable way of a plugin developer from working out if the user is on a mobile device or not.

    This lack of central provided function means that different plugins return different ideas of what a mobile device is – some report tablets as mobile devices but some don’t, which can lead to things like caching systems identifying a device as a mobile device when the mobile theme module doesn’t think it is, which of course then messes up the output for other mobile device users.

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I think the reason that it does not is that it can not. Even client-side scripting cannot accurately determine that level of detail.

Viewing 1 replies (of 1 total)
  • The topic ‘Mobile devices’ is closed to new replies.