From a4f3fc3489241b938e7be91cfd285ec356bca9a9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 19 Sep 2013 00:04:16 +0000 Subject: [PATCH] Update inline documentation for hooks in wp-admin/includes/ms.php. props jamescollins. see #25229. git-svn-id: https://develop.svn.wordpress.org/trunk@25486 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/ms.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index d250f62a90..ebfa573d67 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -162,7 +162,7 @@ function wpmu_delete_user( $id ) { if ( !$user->exists() ) return false; /** - * Fires when a user is deleted from the network. + * Fires before a user is deleted from the network. * * @since MU * @@ -207,7 +207,7 @@ function wpmu_delete_user( $id ) { * * @since 2.8.0 * - * @param int $id User ID of the user about to be deleted from the network. + * @param int $id User ID of the user that was deleted from the network. */ do_action( 'deleted_user', $id ); @@ -447,7 +447,7 @@ function update_user_status( $id, $pref, $value, $deprecated = null ) { if ( $pref == 'spam' ) { if ( $value == 1 ) { /** - * Fires when the user is marked as a SPAM user. + * Fires after the user is marked as a SPAM user. * * @since 3.0.0 * @@ -456,7 +456,7 @@ function update_user_status( $id, $pref, $value, $deprecated = null ) { do_action( 'make_spam_user', $id ); } else { /** - * Fires when the user is marked as a HAM user. Opposite of SPAM. + * Fires after the user is marked as a HAM user. Opposite of SPAM. * * @since 3.0.0 * @@ -711,7 +711,7 @@ function grant_super_admin( $user_id ) { * * @since 3.0.0 * - * @param int $user_id User ID of the user is granted Super Admin privileges. + * @param int $user_id User ID of the user that is about to be granted Super Admin privileges. */ do_action( 'grant_super_admin', $user_id ); @@ -728,7 +728,7 @@ function grant_super_admin( $user_id ) { * * @since 3.0.0 * - * @param int $user_id User ID of the user is granted Super Admin privileges. + * @param int $user_id User ID of the user that was granted Super Admin privileges. */ do_action( 'granted_super_admin', $user_id ); return true;