XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 5, 2009, 5:43:15 PM (15 years ago)
Author:
toemon
Message:

#139 XOOPS UID と WordPress? UID 相違による不具合の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/data.inc.php

    r37 r257  
    3636                $wp_prefix = $mydirname; 
    3737        } 
    38          
     38        require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php'); 
    3939        include(XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/wp-includes/version.php'); 
    4040 
     
    9292                $ret[$i]['cat_name'] = $row2['cat_name']; 
    9393 
    94                 $ret[$i]['uid'] = $row1['post_author']; 
     94                $ret[$i]['uid'] = wp_uid_to_xoops_uid($row1['post_author']); 
    9595                $ret[$i]['replies'] = $row1['comment_count']; 
    9696 
     
    180180} 
    181181 
     182 
    182183// --- function end --- 
    183184 
Note: See TracChangeset for help on using the changeset viewer.