~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-admin/includes/options.php

  • Committer: Barry Price
  • Date: 2017-08-04 10:16:14 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: barry.price@canonical.com-20170804101614-i19f3u3hxgsxypn0
Merge WP4.8.1 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
                        return;
101
101
                jQuery('#permalink_structure').val( this.value );
102
102
        });
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 );
105
105
        });
106
106
});
107
107
</script>