diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 832f22a13..08c408ec2 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -30,7 +30,7 @@ function add_js() { staticPage = section.find('input:radio[value="page"]'), selects = section.find('select'), check_disabled = function(){ - selects.attr('disabled', staticPage.is(':checked') ? '' : 'disabled'); + selects.prop( 'disabled', ! staticPage.prop('checked') ); }; check_disabled(); section.find('input:radio').change(check_disabled);