wpseek.com
A WordPress-centric search engine for devs and theme authors



delete_users_add_js › WordPress Function

Since3.5.0
Deprecatedn/a
delete_users_add_js ( No parameters )
Access:
  • private
Defined at:
Codex:

No description yet.



Source

function delete_users_add_js() {
	?>
<script>
jQuery( function($) {
	var submit = $('#submit').prop('disabled', true);
	$('input[name="delete_option"]').one('change', function() {
		submit.prop('disabled', false);
	});
	$('#reassign_user').focus( function() {
		$('#delete_option1').prop('checked', true).trigger('change');
	});
} );