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-friends/classes/class-bp-friends-friendship.php

    r13147 r13395  
    133133     * @since 1.0.0
    134134     *
    135      * @global BuddyPress $bp The one true BuddyPress instance.
    136135     * @global wpdb $wpdb WordPress database object.
    137136     */
     
    177176     * @since 1.0.0
    178177     *
    179      * @global BuddyPress $bp The one true BuddyPress instance.
    180178     * @global wpdb $wpdb WordPress database object.
    181179     *
     
    229227     * @since 1.0.0
    230228     *
    231      * @global BuddyPress $bp The one true BuddyPress instance.
    232229     * @global wpdb $wpdb WordPress database object.
    233230     *
     
    389386     * @since 2.7.0
    390387     *
    391      * @global BuddyPress $bp The one true BuddyPress instance.
    392388     * @global wpdb $wpdb WordPress database object.
    393389     *
     
    546542     * @since 1.0.0
    547543     *
    548      * @global BuddyPress $bp The one true BuddyPress instance.
    549544     * @global wpdb $wpdb WordPress database object.
    550545     *
     
    651646     * @since 3.0.0
    652647     *
    653      * @global BuddyPress $bp The one true BuddyPress instance.
    654648     * @global wpdb $wpdb WordPress database object.
    655649     *
     
    748742     * @since 1.0.0
    749743     *
    750      * @global BuddyPress $bp The one true BuddyPress instance.
    751744     * @global wpdb $wpdb WordPress database object.
    752745     *
     
    767760     * @since 1.6.0
    768761     *
    769      * @global BuddyPress $bp The one true BuddyPress instance.
    770762     * @global wpdb $wpdb WordPress database object.
    771763     *
     
    786778     * @since 1.0.0
    787779     *
    788      * @global BuddyPress $bp The one true BuddyPress instance.
    789780     * @global wpdb $wpdb WordPress database object.
    790781     *
     
    807798     * @since 1.0.0
    808799     *
    809      * @global BuddyPress $bp The one true BuddyPress instance.
    810800     * @global wpdb $wpdb WordPress database object.
    811801     *
     
    857847     * @since 1.0.0
    858848     *
    859      * @global BuddyPress $bp The one true BuddyPress instance.
    860849     * @global wpdb $wpdb WordPress database object.
    861850     *
     
    898887     * @since 1.0.0
    899888     *
    900      * @global BuddyPress $bp The one true BuddyPress instance.
    901889     * @global wpdb $wpdb WordPress database object.
    902890     *
     
    924912     * @since 1.0.0
    925913     *
    926      * @global BuddyPress $bp The one true BuddyPress instance.
    927914     * @global wpdb $wpdb WordPress database object.
    928915     *
     
    1009996     * @since 2.7.0
    1010997     *
    1011      * @global BuddyPress $bp The one true BuddyPress instance.
    1012998     * @global wpdb $wpdb WordPress database object.
    1013999     *
     
    10511037     * @since 1.0.0
    10521038     *
    1053      * @global BuddyPress $bp The one true BuddyPress instance.
    10541039     * @global wpdb $wpdb WordPress database object.
    10551040     *
Note: See TracChangeset for help on using the changeset viewer.