Importer fails when importing from a server on a private network
|Reported by:||dramaley||Owned by:|
WordPress import (using the wordpress-importer plugin) does not work correctly if both machines are on the same private network. Text content imports, but all media imports fail. I have traced the problem down to a test that is done in wp-includes/http.php. Though i am not deeply familiar with the WordPress code base, the test seems unnecessary to me, and if it is commented out then the import function will behave as expected.
I have included a patch against WordPress 3.6.1 that demonstrates where the problematic test is and resolves the issue.