Wordpress 2.5.1 upgrade
A quick non TF2 post - if everything looks normal to you, just ignore this.
I upgraded the Wordpress install to the latest version (2.5.1). Seems ok so far, but knowing me I probably screwed something up.
Drop me a line if you see anything funky going on with the site.
madlep on May 5th 2008 in ubercharged
wizarD. responded on 06 May 2008 at 4:29 pm #
For sure.
MaxC responded on 06 May 2008 at 5:28 pm #
One thing i notice when writing a comment, is that my name is set to wisarD. and my Website is set to http://gibsrus.com (the same as the person above me). It’s like a cookie has been written to my computer with his information. Strange.
Well, I still can write my own details, so I guess it’s not a big deal.
madlep responded on 06 May 2008 at 5:46 pm #
Hmmm, sounds like some Caching weirdness going on there.
madlep responded on 06 May 2008 at 6:32 pm #
Had a look at the source code for WP-Cache. Seems that it does a separate cached page for each user with a distinct email address if they have been to the site and posted a comment before.
Problem is, both you and wizarD posted with no email address, so you get the same version of the cached page. Whoever accesses the page first after it expires and regenerated (once an hour), gets their cookie details hardcoded into the cached version of the page for all users with the same email address (both having a blank email address is counted as the same).
The cached page should really be uniquely generated based on the author name and/or website URL as well to avoid that.
Dunno if that’s something that has been introduced in WordPress 2.5.1, or if it’s just been like that all along. Will have to do a bit of offline testing of it, but I think the fix should be reasonably simple.