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-xprofile/classes/class-bp-xprofile-profiledata.php

    r13393 r13395  
    116116         * @since 1.0.0
    117117         *
    118          * @global object $wpdb
    119          * @global array $bp
     118         * @global wpdb $wpdb WordPress database object.
    120119         *
    121120         * @return bool
    … …  
    151150         * @since 1.0.0
    152151         *
    153          * @global object $wpdb
     152         * @global wpdb $wpdb WordPress database object.
    154153         *
    155154         * @return bool
    … …  
    275274         * @since 1.0.0
    276275         *
    277          * @global object $wpdb
     276         * @global wpdb $wpdb WordPress database object.
    278277         *
    279278         * @return boolean
Note: See TracChangeset for help on using the changeset viewer.