The MU forums have moved to WordPress.org

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

  1. kingler
    Member
    Posted 17 years ago #

    I have put this in the trac:
    http://trac.mu.wordpress.org/ticket/355

    ____________

    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
    Member
    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
    Member
    Posted 17 years ago #

    There's other issues with teh db as well:

    http://trac.mu.wordpress.org/ticket/315

    Thanks by the way,
    -drmike

  4. StianH
    Member
    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