• Resolved Nicki Faulk

    (@nitallica)


    I’ve noticed something when I upgraded from WP 2.0.3 to 2.0.4: it broke the alternating comment coloring (and/or styling?).

    Examples:

    My test system, which is still using 2.0.3
    https://www.nitallica.org/test/2006/07/11/hello-world/#comments

    The live system, which is using 2.0.4
    https://www.beforeyoukillyourcomputer.com/index.php/2006/07/01/hello-world/#comments

    Both are running the same theme and I’ve gone over everything with a fine toothed comb and can’t find any difference other than the WordPress versions.

    Has anyone else run into this since upgrading?

    2.0.3 caused more problems than it solved, so I am hesitant to downgrade just for alternating comment stylings … I can easily just afix one background and stick with it, but the admin really *wants* the alternation.

    Any thoughts? Suggestions?

    If needed, I can put some code snippets online.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Don’t have a problem with mine…

    Your source looks like this:
    <li id="comment-55" class="<?=$oddcomment;?>">

    It’s not ‘2.0.4’…

    Thread Starter Nicki Faulk

    (@nitallica)

    Then why would it work in 2.0.3 and not in 2.0.4 if it is the exact same theme and the exact same system setups? The only difference between the two sites is the version of WordPress running.

    it’s obviously not the exact same thing. ??

    that <?=$oddcomment;?> thing is obviously some kind of error in the theme. I’m not even sure what that is. Looks like some kind of echoing shorthand, but I’ve never seen it.

    -d

    Thread Starter Nicki Faulk

    (@nitallica)

    Yeah, that’s what I thought too, but I downloaded the theme files from the 2.0.4 system and uploaded to the 2.0.3 one and it still works fine, which is what lead me to think it’s WP. (as much I hate to blame it … it’s been so good to me! *sobs*)

    ??

    I’ll keep looking though. Thanks for replying. ??

    Thread Starter Nicki Faulk

    (@nitallica)

    Funny, I was looking at the source on the page generated on the 2.0.3 system and I see:

    <li id="comment-1" class="graybox">

    and

    <li id="comment-2" class="oddcomment">

    Which is exactly what the 2.0.4 system SHOULD be doing.

    *bangs head on keyboard*

    Thread Starter Nicki Faulk

    (@nitallica)

    FOUND IT!

    Turns out that shorthand was indeed the problem. Compared it to the comments/alternating code in WP-Andreas and was able to suss out the full thing.

    Thanks! ??

    *lubs WP*

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Alternating comment background/styling broken by 2.0.4?’ is closed to new replies.