[Plugin: Networks for WordPress] Site options not updated
-
I installed the ‘networks for wordpress’ plugin on a new WordPress 3.1 install. When assigning a blog to a different network I noticed the site-specific url’s in the options table weren’t changed.
There seems to be a bug in the code on line 470 of the plugin’s index.php file:
$option = $wpdb->get_row("SELECT * FROM $optionsTable WHERE option_name='" . $option_name . "'");
has to be changed to
$option = $wpdb->get_row("SELECT * FROM $optionTable WHERE option_name='" . $option_name . "'");
If you’ve reassigned blogs before, you might have to change the site-specific url’s manually first for the str_replace on line 471 to work.
https://www.ads-software.com/extend/plugins/networks-for-wordpress/
- The topic ‘[Plugin: Networks for WordPress] Site options not updated’ is closed to new replies.