XPressME Integration Kit

Trac

Changeset 212 for trunk


Ignore:
Timestamp:
May 19, 2009, 7:52:14 PM (16 years ago)
Author:
toemon
Message:

WordPressMU時、safe_site_url_filter()がWordPressMUのhome URLを改変してしまうため、マルチユーザ時の各リンクが誤ったものになるバグ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php

    r182 r212  
    296296 
    297297function safe_site_url_filter($site_url){ 
    298         if ($site_url != get_xpress_url()) $site_url = get_xpress_url(); 
     298        global $xoops_config; 
     299        if (!$xoops_config->is_wpmu){ 
     300                if ($site_url != get_xpress_url()) $site_url = get_xpress_url(); 
     301        } 
    299302        return $site_url; 
    300303} 
Note: See TracChangeset for help on using the changeset viewer.