Use jQuery.prop('checked') instead of jQuery.attr('checked'), which is deprecated.
Built from https://develop.svn.wordpress.org/trunk@27164 git-svn-id: http://core.svn.wordpress.org/trunk@27030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5a43c3324d
commit
5d0f6bd98a
|
@ -4694,7 +4694,7 @@
|
|||
}
|
||||
// Handle checkboxes.
|
||||
} else if ( $setting.is('input[type="checkbox"]') ) {
|
||||
$setting.attr( 'checked', !! value );
|
||||
$setting.prop( 'checked', !! value );
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue