XPressME Integration Kit

Trac


Ignore:
Timestamp:
Aug 9, 2012, 3:37:03 PM (12 years ago)
Author:
toemon
Message:

XOOPSモードでBuddypressプラグインを有効化するとブランク画面になるバグ修正 fixes #416
bug(if changed on WP Xpressme panel the WP mode to Xoops mode, the Buddypress goes down) Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php

    r797 r812  
    2222require_once dirname( __FILE__ ).'/include/functions_for_wp_old.php' ; 
    2323 
    24 if (!is_wordpress_style() && ( !empty($xpress_config->theme_select) || $xpress_config->theme_select != 'use_wordpress_select') ){ 
     24if (!is_wordpress_style()  
     25        && ( !empty($xpress_config->theme_select) || $xpress_config->theme_select != 'use_wordpress_select') 
     26        && !is_buddypress_active()  
     27){ 
    2528        add_filter('stylesheet', 'xpress_Stylesheet'); 
    2629        add_filter('template', 'xpress_ThemeTemplate'); 
Note: See TracChangeset for help on using the changeset viewer.