Category Archives: Internet

CSRF Attack on WordPress

Someone named Ferruh has a proof-of-concept cross-site request forgery (CSRF) attack against WordPress (HT: DK at BlogSecurity). I’ve tried it out successfully on my own version of WordPress 2.3.3.
The scenario is like this: you go to leave a comment on someone’s site, and surreptitiously that (evil) site tricks you into changing your WordPress admin password [...]

New WordPress Plugin: Remember Attachment Link Preferences

I wrote this plugin to deal with a common complaint from my clients: when uploading pictures in WordPress and sending them to the editor, one has to repeatedly re-select how the image should appear. In the case of the screenshot below, I checked “Show: Full size” and “Link to: Page.” This can get [...]

Filosofo’s WordPress Gravatar Plugin

Automattic, the company behind WordPress, recently acquired Gravatar. In case you don’t know, gravatars—or “globally recognized avatars”—are images that you can associate with an email address, so a picture of your choice can appear alongside your comments on many others’ blogs.
Gravatar already provides a simple WordPress plugin, but it suffers from a common [...]

Internet Explorer 7 Float Bug

Today while developing a WordPress theme for a client, I ran into a vexing Internet Explorer 7 bug. Anyone who’s done any website design is familiar with Internet Explorer 6 (or earlier) wreaking havoc with standards-compliant work that looks good in, say, Firefox. But thankfully IE 7 has for the most part been [...]

A Plugin for WordPress 2.3: Include Categories in the Tag Cloud

I’m running the cutting-edge development version of the WordPress blogging platform (known as “trunk” to WordPress geeks). So I’m enjoying some of the features that will appear in the next version of WordPress, 2.3, which will probably be released towards the end of the summer. The biggest new feature for 2.3 so far is built-in [...]

WordPress 2.2: Three Things Developers Will Like

In the newly released WordPress 2.2 the built-in widget support is likely to get most of the attention. Here are three things you as a WordPress plugin or theme developer might also find useful. You can now set your site’s “home” and “siteurl” values in the wp-config.php file Say you have a production site and a [...]