[wp-trac] [WordPress Trac] #17421: Static page selection is disabled in Reading Settings ( jQuery v1.6.1 issue )

WordPress Trac wp-trac at lists.automattic.com
Sat May 14 14:20:45 UTC 2011


#17421: Static page selection is disabled in Reading Settings ( jQuery v1.6.1 issue
)
--------------------------+---------------------
 Reporter:  rossdev       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.2
Component:  UI            |     Version:  3.2
 Severity:  major         |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by azaozz):

 @nacin, @JDTrower yes, `staticPage.is(':checked')` would work too but as
 @duck_ mentions `.prop()` is preferred with jQuery 1.6. Also the

 {{{
 ? '' : 'disabled'
 }}}

 bit is not needed any more (think at one point you needed to pass an empty
 string to `.attr()` in order to remove an attribute with jQuery).

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


More information about the wp-trac mailing list