Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/20/2011 01:12:10 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Replace get_class() calls with is_a() where applicable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-forums.php

    r3583 r3627  
    557557
    558558    // Bail if bbPress is not loaded
    559     if ( 'bbPress' !== get_class( $bbp ) ) return;
     559    if ( !is_a( $bbp, 'bbPress' ) ) return;
    560560
    561561    $bbp->admin->forums = new BBP_Forums_Admin();
Note: See TracChangeset for help on using the changeset viewer.