XPressME Integration Kit

Trac

Changeset 526


Ignore:
Timestamp:
Mar 9, 2010, 8:24:54 AM (14 years ago)
Author:
toemon
Message:

WP3.XでのMultiBlog時のサイトマップ・検索・プラグイン対応 Fixes #292

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/general_functions.php

    r485 r526  
    126126                $table_list = array(); 
    127127                $ret = array(); 
    128                 $pattern = $wp_prefix . $table_name . '|' . $wp_prefix . '[0-9]*_' . $table_name; 
     128                $wp_prefix = preg_replace('/_$/', '',$wp_prefix); 
     129                $pattern = $wp_prefix . '_' . $table_name . '|' . $wp_prefix . '_[0-9]*_' . $table_name; 
    129130 
    130131                if (!empty($wp_prefix) && !empty($table_name)){ 
Note: See TracChangeset for help on using the changeset viewer.