[wp-trac] [WordPress Trac] #17311: Update to jQuery 1.6
WordPress Trac
wp-trac at lists.automattic.com
Tue May 3 18:15:18 UTC 2011
#17311: Update to jQuery 1.6
-------------------------------------+-----------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+-----------------------------
Comment (by aaroncampbell):
It looks like there are several places that we should be using `.prop()`
instead of `.attr()`. I'm a little unclear so someone should verify, but
it seems that most places where we are setting an attribute we should
actually be setting the property. Additionally several places where we
check an attribute (especially "checked" and "disabled") we should be
actually be checking the property. However, I think everywhere we're
checking id, name, etc we should continue using attr().
* http://api.jquery.com/.prop/
* http://api.jquery.com/attr/
* http://api.jquery.com/category/version/1.6/
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17311#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list