diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index b89b3298da..6b912f0453 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/wp-includes/js/media-views.js @@ -4694,7 +4694,7 @@ } // Handle checkboxes. } else if ( $setting.is('input[type="checkbox"]') ) { - $setting.attr( 'checked', !! value ); + $setting.prop( 'checked', !! value ); } }, /**