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:
Dominik Schilling 2014-02-11 21:13:14 +00:00
parent 5a43c3324d
commit 5d0f6bd98a
2 changed files with 2 additions and 2 deletions

View File

@ -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