WordPress and PHP.
Posted: Wed Aug 31, 2011 1:18 pm
I recently discovered that when I did a search for books by author from the Speculative Fiction section of my Web site (which I'd recently converted over to WordPress), it would simply return me to my home page rather than showing me the results. I fixed this by changing the PHP code in my Wordpress page from $_SERVER['PHP_SELF']) to $_SERVER['REQUEST_URI']). Apparently, there's something about PHP_SELF that WordPress, when running PHP code, doesn't like.