Skip to:
Content

BuddyPress.org

Changeset 6344


Ignore:
Timestamp:
09/19/2012 06:53:52 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Wizard:

  • Use buddypress() function in place of $bp global in step_pages() method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r6343 r6344  
    262262
    263263    function step_pages() {
    264         global $bp, $wpdb;
     264        global $wpdb;
     265
     266        // Get BuddyPress once in this scope
     267        $bp = buddypress();
    265268
    266269        // Make sure that page info is pulled from bp_get_root_blog_id() (except when in
Note: See TracChangeset for help on using the changeset viewer.