Skip to:
Content

bbPress.org


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-forum-functions.php

    r3607 r3627  
    929929
    930930    // Bail if $posts_query is not an object or of incorrect class
    931     if ( !is_object( $posts_query ) || ( 'WP_Query' != get_class( $posts_query ) ) )
     931    if ( !is_object( $posts_query ) || !is_a( $posts_query, 'WP_Query' ) )
    932932        return;
    933933
Note: See TracChangeset for help on using the changeset viewer.