OpenID Delegate Plugin for Wordpress
May 23rd, 2008 by Mark
I just upgraded my wordpress installation to 2.5.1 from 2.3.3 or something like that. 2.5 is very nice. The upgrade was really simple and the new administrative interface is pretty slick. I decided it was time for me to manage my wordpress installation with subversion so that later upgrades are a simple ’svn switch’ away. The process of switching was pretty easy because I had scripts in place for backing up and restoring all of the custom parts of the site.
As part of the upgrade I had to make sure that all of the plugins I was using were moved over properly. The one plugin that I really use is the openid delegation plugin. This plugin lets you use your wordpress URL when logging in to a site using openid. All it does is put extra <link> tags in the <head> of your home page that redirect the open id request to your real open id server. I use claimid.com for this purpose.
I had made a change to the plugin at one point because it would not put the tags on my home page because my home page is a ‘page’ and not a ‘post’ in wordpress terms. When I originally made the change I sent a patch over to the original author hoping that he would incorporate the change and put the improved version on his page. He never did. While moving the plugin today I almost over-wrote my changed file with his original. Now, my changes amount to 6 or 7 lines of code, but I really didn’t want to have to go finding out which wordpress objects and hooks I had to use to recreate my change. To avoid this problem in the future I decided to throw it in to my repository. So, if you use wordpress and you’re looking in to open id, check out the slightly improved openid delegation plugin for wordpress.


