well I just updated to the latest version and it looks like there was a change to that line of code. I am not sure why the old code didnt work for me or for Seidl as I have other get functions that dont require the .php at the end. I didnt look deep enough into the coding to see if it might be something else. Here is the new code they put in which works just fine.
if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'sharing.php' || $_GET['page'] == 'sharing' ) )
$this->process_requests();
}
Awesome. that fixed it. Thanks.
This is working great on 2.7.1. One thing I had to do to get it to work though was to remove the following line from the OP code:
$hostname = str_replace(’www.’, ”, $hostname);
It was causing errors but after removing it, everything works flawlessly. I have 3 domains all pointing to the same blog and I can login and/or read any page or post using any of the domain names.