Root Cookie WordPress - Plugin updated !
Tags: PHP, WordPress
UPDATE: This Plugin has been updated, see please the new post, thanks.
Unless there’s a security risk, I’m always slow to upgrade my blog to the latest & greatest WP, the reason is plugins, when there’s a major revision update, plugins cause problems, so it’s usually best to wait for the maintainers to fix them before upgrading.
Anyway, I started to test the upgrade, and realised that I had a plugin that didn’t work, and yes you guessed it, it was the one I wrote ! - DOH !
It appears that v2.1 was more fussy about pluggable functions, but a quick fix and it’s done, so I give you…
Standard wordpress plugin rules apply, save as root-cookie.php, stick it in your wp-content/plugins directly and activate, log-out (or clear your cookies) and when you log in you’ll get a cookie with the full domain path… happy days !

12th March, 2007 - 4:50 pm
I have tried this plugin months ago but I found myself having difficulties logging out so I disabled it. After some time when I learned to modify WP code, I’ve made myself a modified plugin based on the pluggable functions PHP file, which now includes
wp_clearcookie()function.12th March, 2007 - 4:55 pm
Hi Aja,
You know, I never log out !
Thanks for pointing the problem, I’ll take a look at what you’ve done
13th March, 2007 - 12:16 pm
No problem, [NICK].