Make WordPress Core

Ticket #40982: 40982.diff

File 40982.diff, 566 bytes (added by afercia, 6 years ago)
  • src/wp-admin/includes/options.php

     
    100100                        return;
    101101                jQuery('#permalink_structure').val( this.value );
    102102        });
    103         jQuery('#permalink_structure').focus(function() {
    104                 jQuery("#custom_selection").attr('checked', 'checked');
     103        jQuery( '#permalink_structure' ).on( 'click input', function() {
     104                jQuery( '#custom_selection' ).prop( 'checked', true );
    105105        });
    106106});
    107107</script>