diff --git a/wp-admin/includes/options.php b/wp-admin/includes/options.php index a085a4ad5c..6b8114d571 100644 --- a/wp-admin/includes/options.php +++ b/wp-admin/includes/options.php @@ -100,8 +100,8 @@ jQuery(document).ready(function() { return; jQuery('#permalink_structure').val( this.value ); }); - jQuery('#permalink_structure').focus(function() { - jQuery("#custom_selection").attr('checked', 'checked'); + jQuery( '#permalink_structure' ).on( 'click input', function() { + jQuery( '#custom_selection' ).prop( 'checked', true ); }); }); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f911c37d8..4366bc91e3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40896'; +$wp_version = '4.9-alpha-40897'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.