[wp-trac] [WordPress Trac] #41023: Allow people to change wp_is_mobile logic though a filter
WordPress Trac
noreply at wordpress.org
Tue Jun 13 15:00:54 UTC 2017
#41023: Allow people to change wp_is_mobile logic though a filter
-----------------------------+------------------------------
Reporter: PressLabs | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+------------------------------
Changes (by swissspidy):
* keywords: => needs-patch
Comment:
Hey there,
This filter would need to be documented according to our
[https://make.wordpress.org/core/handbook/best-practices/inline-
documentation-standards/php/ PHP Documentation Standards].
Personally, I think people should rather use feature detection and
progressive enhancement instead of using / relying upon `wp_is_mobile()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41023#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list