New fix for radiokapi ?
-
Hello,
I’ve been using MailPoet with the “fix for radiokapi” (wysija-newsletters/core/model.php, lines 32-39) :
function WYSIJA_model($extensions=''){ if(defined('WYSIJA_DBG') && WYSIJA_DBG>0) $this->dbg=true; global $wpdb; $this->wpprefix=$wpdb->prefix; if($extensions) $this->table_prefix=$extensions; //fix for radiokapi //$this->wpprefix=$wpdb->base_prefix; }I’ve upgraded to 2.7.2 and the code has changed :
function __construct($extensions=''){ if(defined('WYSIJA_DBG') && WYSIJA_DBG>0) $this->dbg=true; global $wpdb; $this->wpdb = $wpdb; $this->wpprefix=$this->wpdb->prefix; if($extensions) $this->table_prefix=$extensions; }I’ve changed the line to “$this->wpprefix=$this->wpdb->base_prefix” but this time this is not enough and MailPoet doesn’t find the database tables. I have a multisite WordPress, all sites using the same tables, and now newsletters and subscribers appear only on the main site.
What should I do to fix this problem? Thanks a lot for this great plugin,
Mim
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘New fix for radiokapi ?’ is closed to new replies.