Make WordPress Core

Ticket #26378: 26378.patch

File 26378.patch, 1.0 KB (added by Frank Klein, 10 years ago)
  • wp-admin/options-general.php

     
    3232                                $("input[name='date_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() );
    3333                });
    3434                $("input[name='date_format_custom']").focus(function(){
    35                         $("#date_format_custom_radio").attr("checked", "checked");
     35                        $("#date_format_custom_radio").prop("checked", true);
    3636                });
    3737
    3838                $("input[name='time_format']").click(function(){
     
    4040                                $("input[name='time_format_custom']").val( $(this).val() ).siblings('.example').text( $(this).siblings('span').text() );
    4141                });
    4242                $("input[name='time_format_custom']").focus(function(){
    43                         $("#time_format_custom_radio").attr("checked", "checked");
     43                        $("#time_format_custom_radio").prop("checked", true);
    4444                });
    4545                $("input[name='date_format_custom'], input[name='time_format_custom']").change( function() {
    4646                        var format = $(this);