Closed (won't fix)
Project:
WordPress Migrate
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2012 at 22:49 UTC
Updated:
17 Jun 2013 at 20:18 UTC
When importing content via URL from a WordPress site, users receive a message:
The uploaded file is not a valid WordPress export
This message seems more appropriate for the file import method instead of for the URL import method.
| Comment | File | Size | Author |
|---|---|---|---|
| wordpress-import-error.png | 177.28 KB | stacywray |
Comments
Comment #1
mikeryanThe message is technically correct - when you use the URL method, wordpress_migrate logs into the WordPress and exports the WXR file directly. But yes, in that context it's confusing. It's also worth noting that this message is generated at the point where the actual import is being performed, well after the file was uploaded to the web server (whether it was obtained via file import or by pulling directly from the WordPress site), at that point the code has no idea which method was used to obtain the file.
So, what's a more general message that makes sense either way? "The extract from WordPress is not a valid WordPress export file."?
Comment #2
mikeryanI'm going to leave it as is - it is correct, and it is also unlikely to occur with a direct export from WordPress, which of course should be valid, it's when someone uploads some random file or an edited WXR file that this is likely to happen.