WordPress Update Bash Script

I wrote this script some time ago. It’s been working flawlessly for me, so I thought I’d share it here. It could use some progress messages, I suppose. #!/bin/bash DIR= # Put the file system path to your WordPress installation here. E.g., /var/www/html/blog TMPDIR=$HOME/tmp WPDIR=$TMPDIR/wordpress cd $TMPDIR rm -rf latest.zip ./wordpress # Clean up from… Continue reading WordPress Update Bash Script

Weird Traffic

I just saw some weird traffic on this blog. Last week, I was testing a plugin when it went a little haywire and automatically created a bunch of posts (based on my NewsGator clippings, including a lot of law related and gadget related topics — things I read about but don’t write about). And then… Continue reading Weird Traffic

WordPress 2.3 Upgrade

Just finished upgrading to WordPress 2.3. Went off without a hitch — even converted my categories to tags. I did have one issue with that, though. For some reason, certain posts were marked “Uncategorized” while other retained only my default “Miscellany” category. I couldn’t detect the pattern. I had to “hand” edit the database to… Continue reading WordPress 2.3 Upgrade

Quick WordPress Upgrading

Note to self: Grab a unified diff of the new version versus the old version: svn diff -r HEAD –old http://svn.automattic.com/wordpress/tags/<old_version> \ –new http://svn.automattic.com/wordpress/tags/<new_version> Apply the changes to the current installation: patch -d <path_to_wp_install> -u -i <patchfile>

WordPress and JavaScript Hijacking

I read this paper that Bruce Schneier linked to regarding JavaScript hijacking. Seems to me that WordPress plugin developers who piggyback on WordPress’s builtin security features shouldn’t have anything to worry about. Judging from what little buzz there was, I think that’s probably true, but I’m interested in others’ thoughts.

Yikes! WordPress Hacked!

The WordPress crew have announced that the WordPress 2.1.1 download got cracked by an unnamed attacker who injected some code that would allow remote code execution. I’m glad I haven’t upgraded!

Alex King WordPress Plugin Roundup

Alex King, a WordPress über-hacker (and formerly a b2/b2evolution hacker), is writing a series of posts about his recent redesign of alexking.org. His latest post describes the numerous WordPress plugins he’s using, many of which he wrote. I’m not using any of these right now, but I steal Alex’s ideas and code all the time… Continue reading Alex King WordPress Plugin Roundup