Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (4 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-notifications/classes/class-bp-notifications-notification.php

    r13243 r13395  
    190190         * @since 1.9.0
    191191         *
    192          * @global BuddyPress $bp The one true BuddyPress instance.
    193192         * @global wpdb $wpdb WordPress database object.
    194193         */
    … …  
    589588         * @since 1.9.0
    590589         *
    591          * @global BuddyPress $bp The one true BuddyPress instance.
    592590         * @global wpdb $wpdb WordPress database object.
    593591         *
    … …  
    644642         * @since 1.9.0
    645643         *
    646          * @global BuddyPress $bp The one true BuddyPress instance.
    647644         * @global wpdb $wpdb WordPress database object.
    648645         *
    … …  
    756753         * @since 1.9.0
    757754         *
    758          * @global BuddyPress $bp The one true BuddyPress instance.
    759755         * @global wpdb $wpdb WordPress database object.
    760756         *
    … …  
    13091305         * @since 3.0.0
    13101306         *
    1311          * @global BuddyPress $bp The one true BuddyPress instance.
    13121307         * @global wpdb $wpdb WordPress database object.
    13131308         *
Note: See TracChangeset for help on using the changeset viewer.