Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2015 02:49:16 AM (11 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-admin.php

    r9351 r9471  
    821821 * @since BuddyPress (1.6.0)
    822822 *
    823  * @global object $bp BuddyPress global settings.
    824  *
    825823 * @param object $item Activity item.
    826824 */
    827825function bp_activity_admin_edit_metabox_type( $item ) {
    828     global $bp;
     826    $bp = buddypress();
    829827
    830828    $actions  = array();
Note: See TracChangeset for help on using the changeset viewer.