XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 3, 2009, 5:11:25 PM (15 years ago)
Author:
toemon
Message:

WP Super Cacheプラグインへの対応 #263

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

Legend:

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

    r469 r477  
    9595 
    9696        $output = ''; 
    97         $author_cookie = get_xpress_dir_name() . "_select_author" ; 
     97        $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 
    9898        if (!empty($_COOKIE[$author_cookie])){ 
    9999                $uid = intval($_COOKIE[$author_cookie]); 
     
    115115        extract( $r ); 
    116116        $output = ''; 
    117         $author_cookie = get_xpress_dir_name() . "_select_author" ; 
     117        $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 
    118118        if (!empty($_COOKIE[$author_cookie])){ 
    119119                $output = intval($_COOKIE[$author_cookie]); 
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php

    r469 r477  
    242242        if (is_admin()) return $query_vars; 
    243243         
    244         $author_cookie = get_xpress_dir_name() . "_select_author" ; 
     244        $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 
    245245        if(xpress_is_multi_user()){ 
    246246                if (!empty($_GET)){ 
     
    294294        if (is_admin()) return $query; 
    295295 
    296         $author_cookie = get_xpress_dir_name() . "_select_author" ; 
     296        $author_cookie = 'select_' . get_xpress_dir_name() . "_author" ; 
    297297         
    298298        if (strpos($query,'SELECT') === false)  return $query; 
Note: See TracChangeset for help on using the changeset viewer.