Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (21 months ago)
Author:
espellcaste
Message:

PHPDoc: adding improvements to the @global tag definition.

The @global tag is used to inform PHPDoc of a global variable or its usage. The tag was updated where necessary and invalid examples were removed.

Closes https://github.com/buddypress/buddypress/pull/53
Fixes #8786

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-invitations.php

    r13346 r13395  
    9999 * @since 8.0.0
    100100 *
    101  * @global BuddyPress $bp The one true BuddyPress instance.
    102  *
    103101 * @param bool|WP_Error $user_id True on success, WP_Error on failure.
    104102 */
    105103function bp_members_invitations_complete_signup( $user_id ) {
    106     $bp = buddypress();
    107104
    108105    // Check to see if this signup is the result of a valid invitation.
Note: See TracChangeset for help on using the changeset viewer.