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-templates/bp-legacy/buddypress-functions.php

    r13372 r13395  
    10441044 * @since 1.2.0
    10451045 *
    1046  * @global BP_Activity_Template $activities_template
     1046 * @global BP_Activity_Template $activities_template The main activity template loop class.
    10471047 *
    10481048 * @return string|null HTML
     
    10501050function bp_legacy_theme_new_activity_comment() {
    10511051    global $activities_template;
    1052 
    1053     $bp = buddypress();
    10541052
    10551053    if ( ! bp_is_post_request() ) {
Note: See TracChangeset for help on using the changeset viewer.