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-messages/classes/class-bp-messages-message.php

    r13372 r13395  
    8282         * Set up data related to a specific message object.
    8383         *
    84          * @global BuddyPress $bp The one true BuddyPress instance.
    8584         * @global wpdb $wpdb WordPress database object.
    8685         *
    … …  
    105104         * Send a message.
    106105         *
    107          * @global BuddyPress $bp The one true BuddyPress instance.
    108106         * @global wpdb $wpdb WordPress database object.
    109107         *
    … …  
    187185         * Get a list of recipients for a message.
    188186         *
    189          * @global BuddyPress $bp The one true BuddyPress instance.
    190187         * @global wpdb $wpdb WordPress database object.
    191188         *
    … …  
    240237         * Get the ID of the message last sent by the logged-in user for a given thread.
    241238         *
    242          * @global BuddyPress $bp The one true BuddyPress instance.
    243239         * @global wpdb $wpdb WordPress database object.
    244240         *
    … …  
    260256         * Check whether a user is the sender of a message.
    261257         *
    262          * @global BuddyPress $bp The one true BuddyPress instance.
    263258         * @global wpdb $wpdb WordPress database object.
    264259         *
    … …  
    282277         * Get the ID of the sender of a message.
    283278         *
    284          * @global BuddyPress $bp The one true BuddyPress instance.
    285279         * @global wpdb $wpdb WordPress database object.
    286280         *
Note: See TracChangeset for help on using the changeset viewer.