mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -423,7 +423,6 @@ function wp_delete_user( $id, $reassign = 'novalue' ) {
|
||||
global $wpdb;
|
||||
|
||||
$id = (int) $id;
|
||||
$user = new WP_User($id);
|
||||
|
||||
// allow for transaction statement
|
||||
do_action('delete_user', $id);
|
||||
|
||||
Reference in New Issue
Block a user