The MU forums have moved to

1.2.2 bug with fix: update_option cache issue when creating new blogs (4 posts)

  1. kingler
    Posted 17 years ago #

    I have put this in the trac:


    Basically, in wp-includes/functions.php, within the function get_option()

    The following line 224 and 225 were commented out by default.

    #wp_cache_delete('notoptions', 'options'); #wp_cache_delete('alloptions', 'options');

    You need to uncomment these two lines. Otherwise, when a new blog is created, the "siteurl", "home", "blogname" options will be inserted TWICE!

    To repeat the issue, simply install a fresh 1.2.2 and create a new blog. Visit the home page and you will see "My Weblog" as the name for the new blog instead of whatever you set when signing up.

    Uncommenting the above two lines will do the trick, but I don't know why Donncha left the two lines commented out by default. Any comments?

  2. moorezilla
    Posted 17 years ago #

    Thanks for the heads up. Has anyone else heard of a reason why these two lines should have been commented out?

  3. drmike
    Posted 17 years ago #

    There's other issues with teh db as well:

    Thanks by the way,

  4. StianH
    Posted 17 years ago #

    Some three blogs were registered until I fixed this, any idea on how I can fix it so that everything works fine? (Remove the extra fields added).

    Oh, and thanks a bunch :)

About this Topic