- Timestamp:
- Aug 17, 2012, 9:10:26 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php
r813 r823 55 55 } else { // For the xoops guest 56 56 wp_set_current_user(0); 57 if ( ! empty($current_user) ){ // When a current user of wordpress is set, a current user is cleared. 58 wp_logout(); 59 wp_clear_auth_cookie(); 57 if ( !preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT']) && 58 !preg_match("/msie/", $_SERVER['HTTP_USER_AGENT'])) 59 { 60 wp_logout(); // When IE is used, it becomes page error by the guest if the wp_logout() is executed here. 60 61 } 61 62 return false;
Note: See TracChangeset
for help on using the changeset viewer.