Make WordPress Core

Ticket #25229: wp-admin-includes-ms.3.diff

File wp-admin-includes-ms.3.diff, 1.7 KB (added by jamescollins, 11 years ago)

Minor fixes/changes to [25481]

  • src/wp-admin/includes/ms.php

     
    162162        if ( !$user->exists() )
    163163                return false;
    164164        /**
    165          * Fires when a user is deleted from the network.
     165         * Fires before a user is deleted from the network.
    166166         *
    167167         * @since MU
    168168         *
     
    207207         *
    208208         * @since 2.8.0
    209209         *
    210          * @param int $id User ID of the user about to be deleted from the network.
     210         * @param int $id User ID of the user that was deleted from the network.
    211211         */
    212212        do_action( 'deleted_user', $id );
    213213
     
    447447        if ( $pref == 'spam' ) {
    448448                if ( $value == 1 ) {
    449449                        /**
    450                          * Fires when the user is marked as a SPAM user.
     450                         * Fires after the user is marked as a SPAM user.
    451451                         *
    452452                         * @since 3.0.0
    453453                         *
     
    456456                        do_action( 'make_spam_user', $id );
    457457                } else {
    458458                        /**
    459                          * Fires when the user is marked as a HAM user. Opposite of SPAM.
     459                         * Fires after the user is marked as a HAM user. Opposite of SPAM.
    460460                         *
    461461                         * @since 3.0.0
    462462                         *
     
    711711         *
    712712         * @since 3.0.0
    713713         *
    714          * @param int $user_id User ID of the user is granted Super Admin privileges.
     714         * @param int $user_id User ID of the user that is about to be granted Super Admin privileges.
    715715         */
    716716        do_action( 'grant_super_admin', $user_id );
    717717
     
    728728                 *
    729729                 * @since 3.0.0
    730730                 *
    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.
    732732                 */
    733733                do_action( 'granted_super_admin', $user_id );
    734734                return true;