The MU forums have moved to WordPress.org

option_name fields are being duplicated (7 posts)

  1. naijin
    Member
    Posted 17 years ago #

    Hello, upon creation of a new blog the following option_name fields are being created twice:

    blogname
    home
    siteurl
    upload_path

    I use the following query,

    SELECT option_name, COUNT(option_name) AS NumOccurrences
    FROM wp_5_options
    GROUP BY option_name HAVING COUNT(option_name) > 1

    Is this a bug?

  2. naijin
    Member
    Posted 17 years ago #

    I just realized my main blog has practically all fields duplicated.

  3. drmike
    Member
    Posted 17 years ago #

    Well, if it was a bug, there would be a trac ticket then, right? ;)

  4. naijin
    Member
    Posted 17 years ago #

    Ah, thanks.

    Does your install show any similar behavior?

  5. naijin
    Member
    Posted 17 years ago #

    Anyhow,

    http://trac.mu.wordpress.org/changeset/1002

    ^^ seems to fixed it.

  6. SteveAtty
    Member
    Posted 17 years ago #

    It stops it happening again but do we need to tidy up the mess or can we leave it in there?

  7. drmike
    Member
    Posted 17 years ago #

    I've been cleaning them up myself although I probably missed some of them.

About this Topic