WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Networks for WordPress] Site options not updated

[Resolved] [Plugin: Networks for WordPress] Site options not updated

  • edmeister
    Member

    @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.

    http://wordpress.org/extend/plugins/networks-for-wordpress/

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

    @ddean

    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 ‘[Resolved] [Plugin: Networks for WordPress] Site options not updated’ is closed to new replies.