Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/10/2011 10:27:19 PM (13 years ago)
Author:
johnjamesjacoby
Message:

API adjustments:

  • Refactor _status_ vars into callable functions.
  • Audit usage of $bbp global.
  • Perform get_class() checks on extensions to avoid errors if global $bbp is overloaded.
  • Bump DB version to 175.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-extend-buddypress.php

    r3503 r3505  
    597597    if ( !empty( $bp->maintenance_mode ) || !defined( 'BP_VERSION' ) ) return;
    598598
     599    // Bail if bbPress is not loaded
     600    if ( 'bbPress' !== get_class( $bbp ) ) return;
     601
    599602    // Instantiate BuddyPress for bbPress
    600603    $bbp->extend->buddypress = new BBP_BuddyPress();
Note: See TracChangeset for help on using the changeset viewer.