Skip to:
Content

BuddyPress.org


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

    r13312 r13395  
    108108 * @since 10.0.0
    109109 *
    110  * @global BP_Groups_Template $groups_template Groups template object.
     110 * @global BP_Groups_Template $groups_template The main Groups template loop class.
    111111 *
    112112 * @param false|int|string|object|BP_Groups_Group $group (Optional) The Group ID, the Group Slug or the Group object.
     
    12581258 *
    12591259 * @since 1.5.0
    1260  *
    1261  * @global BuddyPress $bp The one true BuddyPress instance.
    12621260 *
    12631261 * @return BP_Groups_Group|bool The current group object or false.
Note: See TracChangeset for help on using the changeset viewer.