WordPress.org

Ready to get started?Download WordPress

Forums

Networks for WordPress
[resolved] Site options not updated (2 posts)

  1. edmeister
    Member
    Posted 3 years ago #

    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/

  2. David Dean
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic