Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (18 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-blogs/bp-blogs-functions.php

    r13343 r13395  
    425425 * Update blog name in BuddyPress blogmeta table.
    426426 *
    427  * @global object $wpdb DB Layer.
     427 * @global wpdb $wpdb WordPress database object.
    428428 *
    429429 * @param string $oldvalue Value before save. Passed by do_action() but
     
    441441 * Update blog description in BuddyPress blogmeta table.
    442442 *
    443  * @global object $wpdb DB Layer.
     443 * @global wpdb $wpdb WordPress database object.
    444444 *
    445445 * @param string $oldvalue Value before save. Passed by do_action() but
     
    459459 * @since 2.0.0
    460460 *
    461  * @global object $wpdb DB Layer.
     461 * @global wpdb $wpdb WordPress database object.
    462462 *
    463463 * @param string $oldvalue Value before save. Passed by do_action() but
     
    477477 * @since 2.0.0
    478478 *
    479  * @global object $wpdb DB Layer.
     479 * @global wpdb $wpdb WordPress database object.
    480480 *
    481481 * @param string $oldvalue Value before save. Passed by do_action() but
     
    495495 * @since 2.0.0
    496496 *
    497  * @global object $wpdb DB Layer.
     497 * @global wpdb $wpdb WordPress database object.
    498498 *
    499499 * @param string $oldvalue Value before save. Passed by do_action() but
     
    519519 * @since 2.0.0
    520520 *
    521  * @global object $wpdb DB Layer.
     521 * @global wpdb $wpdb WordPress database object.
    522522 *
    523523 * @param string $oldvalue Value before save. Passed by do_action() but
     
    12951295 * Delete a metadata from the DB for a blog.
    12961296 *
    1297  * @global object $wpdb WordPress database access object.
     1297 * @global wpdb $wpdb WordPress database object.
    12981298 *
    12991299 * @param int         $blog_id    ID of the blog whose metadata is being deleted.
     
    13441344 * @since 1.2.0
    13451345 *
    1346  * @global object $wpdb WordPress database access object.
     1346 * @global wpdb $wpdb WordPress database object.
    13471347 *
    13481348 * @param int    $blog_id  ID of the blog whose metadata is being requested.
     
    13681368 * Update a piece of blog meta.
    13691369 *
    1370  * @global object $wpdb WordPress database access object.
     1370 * @global wpdb $wpdb WordPress database object.
    13711371 *
    13721372 * @param int    $blog_id    ID of the blog whose metadata is being updated.
Note: See TracChangeset for help on using the changeset viewer.