WordPress has recently released WordPress 2.5.1 which I have completed upgrading my blog to. It contains one critical security patch as well as a number of bug fixes. Surpass Hosting also upgraded their server over the weekend to use PHP 5.2.5 by default and MySQL 5. In doing so, the server software now reports back as WebServerX again and not Apache. So, I had to edit the /wp-includes/vars.php again to force $is_apache to true. Following is the server detection part of the script:
// Server detection /** * Whether the server software is Apache or something else * @global bool $is_apache */ //$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; $is_apache = true; /** * Whether the server software is IIS or something else * @global bool $is_IIS */ $is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false;
The only difficulty I had was with the RAZ-Captcha plug-in. I was getting a fatal PHP error which was causing the Login and Registration pages to not appear:
PHP Fatal error: Cannot use object of type WP_Error as array in /(deleted)/public_html/blog/wp-content/plugins/raz-captcha/raz-captcha.php on line 590
I have disabled that plug-in for the meantime. I may look for a new plug-in to do image verifications on the Login and Registration pages. If I get ambitious, I may try and fix it myself but I doubt it, LOL.