From a03b5033cef28bc1f0d628600ddbe085a485e5d0 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 11 Feb 2014 21:12:04 +0000 Subject: [PATCH] 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 --- src/wp-includes/js/media-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } }, /**