The new 2.7.1 release of WordPress was just too good to pass up. I had installed it on another clients site (soon to be launched), and just fell in love with the new interface. It’s very snazzy, I love the auto-updates, and the layout is fab! But there’s one thing that was still missing… themed login pages.
If you follow the mailing list and the TRAC ticket, you’ll know that they’re looking for a more extensive patch for themed login pages, where as I’ve taken a more minimalist approach. Both approaches are valid with their own pros and cons, but given my choices between upgrading without a themed login, waiting until I found time to create a “more extensive” patch (I’m an impatient person), and just updating the old patch, I chose the third option. The blog you see before you is the result!
If you already have a themed login page from the previous patch, all you need to do is update to WordPress 2.7.1 and apply the new patch. Your existing login.php theme template will work just fine with the new patch. The new patch is attached to the TRAC ticket linked to above. Feedback is welcome, as always!
Update – I’ve updated the patch so that you no longer include error messages in the custom login_header() function. This means they can’t be “forgotten” by the template designer. Unfortunately, it also means that your existing login.php template won’t work. Luckily, making it work is as simple as removing all references to login_header_error() in your template. A new sample login.php has been posted on the TRAC ticket.
Update 2 – For those of you who have difficulty patching, here’s the patched file for 2.7.1.