Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2015 02:49:16 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Replace all remaining $bp global touches with buddypress().

All existing tests continue to pass as normal. I will further manually scrutinize each replacement to ensure correctness.

Fixes #5138. Any stragglers or updates will reference this ticket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-functions.php

    r9456 r9471  
    912912 *
    913913 * @global object $wpdb WordPress database access object.
    914  * @global object $bp BuddyPress global settings.
    915914 *
    916915 * @param int $activity_id ID of the activity item whose metadata is being deleted.
     
    10791078 *
    10801079 * @global object $wpdb WordPress database access object.
    1081  * @global object $bp BuddyPress global settings.
    10821080 *
    10831081 * @param int $user_id ID of the user whose activity is being spammed.
     
    11481146 *
    11491147 * @global object $wpdb WordPress database access object.
    1150  * @global object $bp BuddyPress global settings.
    11511148 *
    11521149 * @param int $user_id ID of the user whose activity is being hammed.
     
    20542051 * @since BuddyPress (1.2.0)
    20552052 *
    2056  * @global object $bp BuddyPress global settings.
    20572053 * @uses wp_parse_args()
    20582054 * @uses bp_activity_add()
Note: See TracChangeset for help on using the changeset viewer.