Implement network support
-
Hi,
I’d like to use your plugin on a multi-website.
Howerever it doesn’t support network search.I suggest to add this code after line 120 :
$blog_id = get_current_blog_id();
if(!$blog_id || $blog_id === 1) {
$prefix_table = ‘wp_’;
} else {
$prefix_table = ‘wp_’ . $blog_id . ‘_’;
}And then replace “wp_” by ” . $prefix_table . ”
What do you think about it ?
Thank you for your job.
- The topic ‘Implement network support’ is closed to new replies.