mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
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 );
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user