Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (19 months 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-thread.php

    r13372 r13395  
    250250     * @since 10.0.0 Added `$args` as a parameter.
    251251     *
    252      * @global BuddyPress $bp The one true BuddyPress instance.
    253252     * @global wpdb $wpdb WordPress database object.
    254253     *
     
    339338     * @since 10.0.0 Added `$args` as a parameter.
    340339     *
    341      * @global BuddyPress $bp The one true BuddyPress instance.
    342340     * @global wpdb $wpdb WordPress database object.
    343341     *
     
    443441     *              was always assumed.
    444442     *
    445      * @global BuddyPress $bp The one true BuddyPress instance.
    446443     * @global wpdb $wpdb WordPress database object.
    447444     *
     
    604601     * @since 1.0.0
    605602     *
    606      * @global BuddyPress $bp The one true BuddyPress instance.
    607603     * @global wpdb $wpdb WordPress database object.
    608604     *
     
    829825     * @since 9.0.0 Added the `user_id` parameter.
    830826     *
    831      * @global BuddyPress $bp The one true BuddyPress instance.
    832827     * @global wpdb $wpdb WordPress database object.
    833828     *
     
    875870     * @since 9.0.0 Added the `user_id` parameter.
    876871     *
    877      * @global BuddyPress $bp The one true BuddyPress instance.
    878872     * @global wpdb $wpdb WordPress database object.
    879873     *
     
    951945     * @since 1.0.0
    952946     *
    953      * @global BuddyPress $bp The one true BuddyPress instance.
    954947     * @global wpdb $wpdb WordPress database object.
    955948     *
     
    976969     * @since 1.0.0
    977970     *
    978      * @global BuddyPress $bp The one true BuddyPress instance.
    979971     * @global wpdb $wpdb WordPress database object.
    980972     *
     
    999991     * @since 1.0.0
    1000992     *
    1001      * @global BuddyPress $bp The one true BuddyPress instance.
    1002993     * @global wpdb $wpdb WordPress database object.
    1003994     *
     
    11231114     * @since 1.2.0
    11241115     *
    1125      * @global BuddyPress $bp The one true BuddyPress instance.
    11261116     * @global wpdb $wpdb WordPress database object.
    11271117     *
Note: See TracChangeset for help on using the changeset viewer.