X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/42aebe6945a3a60c8f73853bea2c8b202d64a20b..256a3b381f63716209b3527d0a14442ae570c283:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 5f2bf21c..f2946008 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -32,7 +32,7 @@ function options_general_add_js() { $("input[name='date_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() ); }); $("input[name='date_format_custom']").focus(function(){ - $("#date_format_custom_radio").attr("checked", "checked"); + $( '#date_format_custom_radio' ).prop( 'checked', true ); }); $("input[name='time_format']").click(function(){ @@ -40,7 +40,7 @@ function options_general_add_js() { $("input[name='time_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() ); }); $("input[name='time_format_custom']").focus(function(){ - $("#time_format_custom_radio").attr("checked", "checked"); + $( '#time_format_custom_radio' ).prop( 'checked', true ); }); $("input[name='date_format_custom'], input[name='time_format_custom']").change( function() { var format = $(this); @@ -84,7 +84,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-