Changeset 291 for branches/Ver2.0/xpressme_integration_kit/wp-content
- Timestamp:
- Jun 18, 2009, 10:41:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.0/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php
r232 r291 23 23 if ($xoopsModule){ 24 24 if (!is_object($xoopsUser)){ 25 wp_set_current_user(0); 26 wp_clearcookie(); 27 28 // wp_logout(); // When IE is used, it becomes page error by the guest if the wp_logout() is executed here. 29 return false; 25 wp_set_current_user(0); 26 if ( !preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT']) && 27 !preg_match("/msie/", $_SERVER['HTTP_USER_AGENT']) ) { 28 wp_logout(); // When IE is used, it becomes page error by the guest if the wp_logout() is executed here. 29 } 30 return false; 30 31 } 31 32 if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) … … 95 96 } 96 97 wp_set_current_user(0); 97 wp_clearcookie();98 98 return 0; 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.