Index: /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php
===================================================================
--- /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php (revision 4219)
+++ /sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php (revision 4220)
@@ -845,5 +845,5 @@
$response = wp_remote_retrieve_headers( wp_remote_get( $validator_url, array( 'redirection' => 0 ) ) );
- if ( array_key_exists( 'location', $response ) ) {
+ if ( !empty( $response['location'] ) ) {
if ( false === strpos( $response['location'], 'd=mm' ) ) {
$username_exists = true;