Ticket #23057: user.php.patch
| File user.php.patch, 593 bytes (added by genkisan, 5 months ago) |
|---|
-
user.php
241 241 $user = new WP_User( $id ); 242 242 243 243 // allow for transaction statement 244 do_action('delete_user', $id );244 do_action('delete_user', $id, $reassign); 245 245 246 246 if ( 'novalue' === $reassign || null === $reassign ) { 247 247 $post_types_to_delete = array(); … … 298 298 clean_user_cache( $user ); 299 299 300 300 // allow for commit transaction 301 do_action('deleted_user', $id );301 do_action('deleted_user', $id, $reassign); 302 302 303 303 return true; 304 304 }
