Skip to:
Content

bbPress.org

Changeset 3630


Ignore:
Timestamp:
11/24/2011 11:31:53 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Bail out of bbp_template_include_theme_compat() early if theme explicitly adds theme support for bbPress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-core-compatibility.php

    r3629 r3630  
    868868 */
    869869function bbp_template_include_theme_compat( $template = '' ) {
     870
     871    // Bail if current theme has this under control
     872    if ( current_theme_supports( 'bbpress' ) )
     873        return $template;
    870874
    871875    /** Users *************************************************************/
Note: See TracChangeset for help on using the changeset viewer.