I have updated my blog to WordPress v2.7.1 which was just released. This time I tried the auto upgrade option. It seems to have worked well. Even so, once again I did have to edit the /wp-includes/vars.php file to force $is_apache to true (see below) since the SERVER_SOFTWARE variable comes back as WebServerX instead of Apache.
// 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;
/**
* 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;
I also had to reapply some code modifications, which I knew I would have to, related to the RSS Feed widget in /wp-includes/rss.php; however, I’ll make a separate post about why I modified it (didn’t I say that before?). Other than that the upgrade went smoothly. ๐
As always, I did perform a complete database and file backup before upgrading! ๐
The whole tweets posting 12 hours off thing is a flaw in WordPress 2.7.x (not sure if it’s .0 or .1). I did not have this issue when I was using 2.6.3, and I upgraded to 2.7.1 yesterday and now my posts make a new Tweet, AND have the time off by 12 hours. Sounds like an error in the time conversion from wp-mail. I’m going to have a peek now. I’ll let you know what I find.