The Subtleties of PHP and WordPress Development

I like to keep my WordPress sites up to date with the latest release of software so when I finally upgraded this site to WordPress v3.2.1 I noticed something quite odd. The site would load and operate OK however when I tried to login I saw the familiar login screen:

WordPress login

 

Clicking Log In brought me to a blank screen. Hmm. After several hours of Google search and trying several dead ends I finally read about the functions.php file and looked for empty spaces after:

<?php
php?>

Sure enough, in the middle of my functions.php file I had some blank spaces. Removing those blank spaces brought my WordPress login back to life.

Leave a Reply