Ticket #23057: 23057.patch
| File 23057.patch, 990 bytes (added by , 12 years ago) |
|---|
-
src/wp-admin/includes/user.php
282 282 * 283 283 * @since 2.0.0 284 284 * 285 * @param int $id User ID. 285 * @param int $id ID of the user to delete. 286 * @param int|string $reassign ID of the user to reassign posts and links to. Default 'novalue'. 286 287 */ 287 do_action( 'delete_user', $id );288 do_action( 'delete_user', $id, $reassign ); 288 289 289 290 if ( 'novalue' === $reassign || null === $reassign ) { 290 291 $post_types_to_delete = array(); … … 353 354 * 354 355 * @since 2.9.0 355 356 * 356 * @param int $id ID of the deleted user. 357 * @param int $id ID of the deleted user. 358 * @param int|string $reassign ID of the user to reassign posts and links to. Default 'novalue'. 357 359 */ 358 do_action( 'deleted_user', $id );360 do_action( 'deleted_user', $id, $reassign ); 359 361 360 362 return true; 361 363 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)