Changeset 123 for trunk/wp-content/plugins/xpressme/include
- Timestamp:
- Mar 19, 2009, 8:49:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/pluggable-override.php
r114 r123 164 164 if ( !function_exists('wp_redirect') ) : 165 165 function wp_redirect($location, $status = 302) { 166 global $is_IIS,$xoops_config ;166 global $is_IIS,$xoops_config,$action; 167 167 168 168 if ($location == 'wp-login.php?loggedout=true') $location = $xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at wp logout 169 169 if ($location == 'wp-login.php?action=register') $location = $xoops_config->xoops_url."/register.php"; //wp-register to xoops register 170 if ($action == 'logout') $location = $xoops_config->xoops_url.'/user.php?op=logout'; //xoops logout at comment logout 170 171 171 172 $location = apply_filters('wp_redirect', $location, $status);
Note: See TracChangeset
for help on using the changeset viewer.