Use jQuery.prop('checked') instead of jQuery.attr('checked'), which is deprecated.

git-svn-id: https://develop.svn.wordpress.org/trunk@27164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2014-02-11 21:12:04 +00:00
parent 2e9d155703
commit a03b5033ce

View File

@ -4694,7 +4694,7 @@
}
// Handle checkboxes.
} else if ( $setting.is('input[type="checkbox"]') ) {
$setting.attr( 'checked', !! value );
$setting.prop( 'checked', !! value );
}
},
/**