Ticket #25229: wp-admin-includes-ms.3.diff
File wp-admin-includes-ms.3.diff, 1.7 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/ms.php
162 162 if ( !$user->exists() ) 163 163 return false; 164 164 /** 165 * Fires whena user is deleted from the network.165 * Fires before a user is deleted from the network. 166 166 * 167 167 * @since MU 168 168 * … … 207 207 * 208 208 * @since 2.8.0 209 209 * 210 * @param int $id User ID of the user about to bedeleted from the network.210 * @param int $id User ID of the user that was deleted from the network. 211 211 */ 212 212 do_action( 'deleted_user', $id ); 213 213 … … 447 447 if ( $pref == 'spam' ) { 448 448 if ( $value == 1 ) { 449 449 /** 450 * Fires whenthe user is marked as a SPAM user.450 * Fires after the user is marked as a SPAM user. 451 451 * 452 452 * @since 3.0.0 453 453 * … … 456 456 do_action( 'make_spam_user', $id ); 457 457 } else { 458 458 /** 459 * Fires whenthe user is marked as a HAM user. Opposite of SPAM.459 * Fires after the user is marked as a HAM user. Opposite of SPAM. 460 460 * 461 461 * @since 3.0.0 462 462 * … … 711 711 * 712 712 * @since 3.0.0 713 713 * 714 * @param int $user_id User ID of the user isgranted Super Admin privileges.714 * @param int $user_id User ID of the user that is about to be granted Super Admin privileges. 715 715 */ 716 716 do_action( 'grant_super_admin', $user_id ); 717 717 … … 728 728 * 729 729 * @since 3.0.0 730 730 * 731 * @param int $user_id User ID of the user is granted Super Admin privileges.731 * @param int $user_id User ID of the user that was granted Super Admin privileges. 732 732 */ 733 733 do_action( 'granted_super_admin', $user_id ); 734 734 return true;