WP-Cats, Now With jQuery
This is a pretty pedestrian way to break a month’s silence, but the 0.2 version of WP-Cats is out. I’ve rewritten the JavaScript so that I’m no longer completely ashamed of it; the closures are a lot cleaner now, and it makes extensive use of jQuery for DOM manipulation and bits of animation.
There’s also a cool new feature where if you add a category to a particular post, you can double-click the plus-button on another post to add the same category to that one. This could be handy if you’ve created a new category and want to quickly go through and tag a bunch of posts with it.
In this release, I made a really serious effort to remove dependencies on Wordpress code, especially on the WP admin panel markup. Using jQuery offers greater flexibility regarding what can be conveniently used as JavaScript hooks, and this time around the main hooks are all inserted by a filter, hopefully making the overall system much more tolerant of future upgrades. Oh, and it all works on Safari now.





