Skip to:
Content

BuddyPress.org


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

    r9351 r9471  
    231231 * @since BuddyPress (1.2.0)
    232232 *
    233  * @global object $bp BuddyPress global settings
    234233 * @uses bp_is_activity_component()
    235234 * @uses bp_activity_get_specific()
     
    253252 */
    254253function bp_activity_screen_single_activity_permalink() {
    255     global $bp;
     254    $bp = buddypress();
    256255
    257256    // No displayed user or not viewing activity component
Note: See TracChangeset for help on using the changeset viewer.