X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..2329f698283944696a7076258cf816545970bb47:/wp-admin/options-general.php diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 5f2bf21c..70118855 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); @@ -77,61 +77,60 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '
' . __('For more information:') . '
' . '' . __('Documentation on General Settings') . '
' . - '' . __('Support Forums') . '
' + '' . __('Support Forums') . '
' ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?>