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-admin/bbp-users.php

    r3376 r3505  
    111111    global $bbp;
    112112
     113    // Bail if bbPress is not loaded
     114    if ( 'bbPress' !== get_class( $bbp ) ) return;
     115
    113116    $bbp->admin->users = new BBP_Users_Admin();
    114117}
Note: See TracChangeset for help on using the changeset viewer.