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-group.php

    r13394 r13395  
    8484         * @since 1.0.0
    8585         *
    86          * @global $wpdb $wpdb
     86         * @global wpdb $wpdb WordPress database object.
    8787         *
    8888         * @param int $id Field group ID.
    … …  
    117117         * @since 1.1.0
    118118         *
    119          * @global object $wpdb
     119         * @global wpdb $wpdb WordPress database object.
    120120         *
    121121         * @return boolean
    … …  
    178178         * @since 1.1.0
    179179         *
    180          * @global object $wpdb
     180         * @global wpdb $wpdb WordPress database object.
    181181         *
    182182         * @return boolean
    … …  
    242242         * @since 11.0.0 `$profile_group_id` accepts an array of profile group ids.
    243243         *
    244          * @global object $wpdb WordPress DB access object.
     244         * @global wpdb $wpdb WordPress database object.
    245245         *
    246246         * @param array $args {
    … …  
    693693         * @since 1.0.0
    694694         *
    695          * @global string $message
     695         * @global string $message The feedback message to show.
    696696         *
    697697         * @return boolean
    … …  
    714714         * @since 1.5.0
    715715         *
    716          * @global $wpdb $wpdb
     716         * @global wpdb $wpdb WordPress database object.
    717717         *
    718718         * @param  int $field_group_id ID of the group the field belongs to.
    … …  
    828828         * @since 1.0.0
    829829         *
    830          * @global string $message
     830         * @global string $message The feedback message to show.
    831831         */
    832832        public function render_admin_form() {
Note: See TracChangeset for help on using the changeset viewer.