Make WordPress Core


Ignore:
Timestamp:
10/15/2008 09:48:19 PM (16 years ago)
Author:
markjaquith
Message:

Remove JS confirmation of individual user deletion. It is redundant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9180 r9192  
    16841684        $actions = array();
    16851685        $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>';
    1686         $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("users.php?action=delete&amp;user=$user_object->ID", 'bulk-users') . "' onclick=\"if ( confirm('" . js_escape(sprintf(__("You are about to delete this user '%s'\n 'Cancel' to stop, 'OK' to delete."), $user_object->user_login )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
     1686        $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("users.php?action=delete&amp;user=$user_object->ID", 'bulk-users') . "'>" . __('Delete') . "</a>";
    16871687        $action_count = count($actions);
    16881688        $i = 0;
Note: See TracChangeset for help on using the changeset viewer.