[wp-trac] [WordPress Trac] #23739: Modernizr

WordPress Trac noreply at wordpress.org
Wed Jun 12 15:37:27 UTC 2013


#23739: Modernizr
--------------------------------+----------------------
 Reporter:  yramagicman         |       Owner:
     Type:  feature request     |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  External Libraries  |     Version:  3.5
 Severity:  normal              |  Resolution:  wontfix
 Keywords:  close               |
--------------------------------+----------------------

Comment (by Looimaster):

 "It has no use in core at the moment."
 "Indeed, we only bundle scripts that we need and use."

 Do you use jquery-effects-blind, jquery-effects-bounce, jquery-effects-
 clip, jquery-effects-drop, jquery-effects-explode, [...10 more...],
 jquery-ui-selectable, jquery-ui-position, jquery-ui-accordion, prototype,
 scriptaculous-root etc. in core?

 1) Number of people that would like to use jquery-ui-selectable in their
 themes or plugins: 1 out of 100.
 2) Number of people that would like to use Modernizr in their themes or
 plugins: 10 out of 100.

 I think that nowadays every other theme or plugin wants to detect touch
 devices and hide elements or change position: fixed; to position:
 absolute; for them. It makes a lot of sense to use Modernizr and not
 something like wp_is_mobile() (the biggest problem: it's PHP and doesn't
 allow JS nor CSS detection and such detection is needed right there). I
 would open a discussion for this library. It becomes more and more useful
 as more touch devices appear and browser market is differentiating.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23739#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list