XPressME Integration Kit

Trac


Ignore:
Timestamp:
Feb 1, 2009, 12:20:33 AM (16 years ago)
Author:
toemon
Message:

オーバライドを有効にする条件が複雑なので、include/pluggable-override.phpがわで対応させることにした。

Location:
trunk/wp-content/plugins/xpressme
Files:
2 edited

Legend:

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

    r71 r83  
    114114} 
    115115 
    116  
     116if ( !function_exists('wp_check_password') ) : 
    117117// for wordpress2.5 
    118118function wp_check_password($password, $hash, $user_id = '') { 
     
    149149        return apply_filters('check_password', $check, $password, $hash, $user_id); 
    150150} 
     151endif; 
    151152 
     153if ( !function_exists('wp_redirect') ) : 
    152154function wp_redirect($location, $status = 302) { 
    153155        global $is_IIS; 
     
    172174        } 
    173175} 
     176endif; 
    174177 
    175  
     178if ( !function_exists('wp_hash_password') ) : 
    176179function wp_hash_password($password) { 
    177180        global $wp_hasher; 
     
    187190*/ 
    188191} 
    189  
     192endif; 
    190193// ***********************************  End Of Pluggable Function Edit (wp-include/pluggable.php) ************************************ 
    191194 
  • trunk/wp-content/plugins/xpressme/xpressme.php

    r78 r83  
    1717 
    1818$XPressME = new XPressME_Class(); 
    19 if (is_xpress_index_page_call()){ 
    20         require_once dirname( __FILE__ ).'/include/pluggable-override.php' ; 
    21 } 
     19 
     20require_once dirname( __FILE__ ).'/include/pluggable-override.php' ; 
     21 
    2222add_action('admin_menu', array(&$XPressME, 'add_option_page')); 
    2323add_action('admin_head', array(&$XPressME, 'add_admin_head')); 
Note: See TracChangeset for help on using the changeset viewer.