Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/13/2012 06:20:07 PM (12 years ago)
Author:
r-a-y
Message:

Theme Compat:

  • Introduce bp_is_theme_bp_default() function - this checks to see if the current theme uses bp-default. Replace all instances of bp_enable_theme_compat() with bp_is_theme_bp_default()
  • In bp-core-filters.php, switch out hardcoded locate_template() registration template checks for bp_has_custom_signup_page().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-legacy/buddypress-functions.php

    r6399 r6404  
    4747    public function __construct() {
    4848
    49         // Bail if theme compat should be disabled
    50         if ( ! bp_enable_theme_compat() )
     49        // Bail if theme is a derivative of bp-default
     50        if ( bp_is_theme_bp_default() )
    5151            return;
    5252
Note: See TracChangeset for help on using the changeset viewer.