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:
parent
2e9d155703
commit
a03b5033ce
@ -4694,7 +4694,7 @@
|
||||
}
|
||||
// Handle checkboxes.
|
||||
} else if ( $setting.is('input[type="checkbox"]') ) {
|
||||
$setting.attr( 'checked', !! value );
|
||||
$setting.prop( 'checked', !! value );
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user