plugins
Another WordPress Update
I finally took some time to update to WP 2.2.2. Naturally, this update broke Democracy again, so I have to go through my mini-hack that lets it work with WP-Cache and figure out what changed from the original 2.0 to 2.2.2. I also have to go through my plugins to figure out what else I broke. I'm starting to feel nostalgic for Drupal's file structure. More on that later.
Addendum to dynamic plugins
I ran my page through the W3C's validator and discovered that it was not XHTML 1.0 strict. It had several errors, and tracking these down led me to discover that my hack to get Democracy to play nicely with WP-Cache still had a bug: I was getting a MySQL error in the code for the poll form, where the form action would appear. This didn't interfere with the page rendering (as far as I can tell), so it was invisible until I looked at the source or, better yet, had a validator do it.
Dynamic Plugins and Caching
How I got the Democracy poll plugin to work with WP-Cache
WP-Cache is a useful plugin. Although I've never been Slashdotted, other people who have and are using Wordpress swear by it. It does have a minor flaw. I have a poll plugin, Democracy, that is obviously supposed to be dynamic. It's rather lame to go to a page, vote on a poll, and not see any results because the page is cached. It turns out that WP-Cache has a mechanism for getting around this, allowing dynamic plugins on static cached pages.
