Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (22 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-xprofile/bp-xprofile-functions.php

    r13394 r13395  
    663663 * @since 1.0.0
    664664 *
    665  * @global BuddyPress $bp           The one true BuddyPress instance.
    666  * @global object     $wpdb         WordPress DB access object.
    667  * @global object     $current_user WordPress global variable containing current logged in user information.
    668  *
    669665 * @param int  $user_id          User ID of the user to get random data for.
    670666 * @param bool $exclude_fullname Optional; whether or not to exclude the full name field as random data.
Note: See TracChangeset for help on using the changeset viewer.