XPressME Integration Kit

Trac


Ignore:
Timestamp:
Sep 8, 2009, 5:29:58 PM (15 years ago)
Author:
toemon
Message:

WP2011でwp_logoutエラー対策 fixes #210

File:
1 edited

Legend:

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

    r360 r378  
    180180         */ 
    181181        function _c() {} 
     182         
     183        if ( !function_exists('wp_logout') ) { 
     184                function wp_logout() { 
     185                        wp_clear_auth_cookie(); 
     186                        do_action('wp_logout'); 
     187                } 
     188        } 
     189 
    182190 
    183191endif;  // Under WP2.5 
Note: See TracChangeset for help on using the changeset viewer.