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-xprofile/bp-xprofile-admin.php

    r9351 r9471  
    262262 */
    263263function xprofile_admin_manage_field( $group_id, $field_id = null ) {
    264     global $bp, $wpdb, $message, $groups;
     264    global $wpdb, $message, $groups;
     265
     266    $bp = buddypress();
    265267
    266268    $field           = new BP_XProfile_Field( $field_id );
Note: See TracChangeset for help on using the changeset viewer.