Support » Plugin: Networks for WordPress » [Plugin: Networks for WordPress] Site options not updated

  • Resolved edmeister


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author David Dean


    Thanks for catching this!

    Looks like I was inconsistent in the original code, and didn’t run through it thoroughly enough when updating.

    A new version will be out shortly to address this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Networks for WordPress] Site options not updated’ is closed to new replies.