Blog has been upgraded to WordPress v2.5.

WordPress has just released WordPress v2.5, which I have completed upgrading my blog to. I have also upgraded my plugins to their latest versions using the new plugin update feature and it worked great!

As always, I did have to modify the /wp-includes/vars.php file in the server detection section to force the apache detection to true so that it could modify the permalink structure:

// 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 reason is that Surpass Hosting’s value for $_SERVER['SERVER_SOFTWARE'] is WebServerX. I also updated my theme to include all the updated code in the default WordPress theme which mine is based off of. All in all a fairly painless process. :)

One thought on “Blog has been upgraded to WordPress v2.5.

  1. Thought I would comment on my own post to mention that recently Surpass upgraded Apache and PHP on the server and the SERVER_SOFTWARE now reports as Apache and thus this change would no longer be necessary.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">