WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Importer
Won't import attachment in WordPress 3.2 (7 posts)

  1. Gecka
    Member
    Posted 3 years ago #

    Well everything is in the subject...

  2. Jon Cave
    WordPress Dev
    Plugin Author

    Posted 3 years ago #

    I am unable to replicate this. I have tested by importing the theme test data into a site running 3.2.1-alpha and Importer 0.4. Then exporting that and importing again into WordPress trunk with the development version of the Importer.

    Do you mean that no attachments show up in the media menu and the files do not exist in the uploads directory? Or that they just don't show up in the actual post's <img> tags?

  3. brohism
    Member
    Posted 2 years ago #

    I'm having the issue Jon Cave described. No media appears in the Media menu, and no files are in the uploads directory. No errors are displayed on import either.

  4. brohism
    Member
    Posted 2 years ago #

    Follow-up: I'm using WordPress 3.3.1.

  5. Jon Cave
    WordPress Dev
    Plugin Author

    Posted 2 years ago #

    @brohism: Did you select "All Content" whilst exporting or one of the filtered options (e.g. "Posts")?

    If it wasn't All Content then you will not have had any attachments exported. This is currently a known limitation of the export/import process (http://core.trac.wordpress.org/ticket/17379).

    If it was All Content then make sure that you checked the import attachments box during the import process. Also open up the XML file that you downloaded and check for attachments (you should be able to search for something like "<wp:post_type>attachment</wp:post_type>").

  6. brohism
    Member
    Posted 2 years ago #

    I think it was limited to just Posts. I'll try it again with All Content and see if it works. Thanks!

  7. brohism
    Member
    Posted 2 years ago #

    Ok, I tried it and it did bring in attachments this time - but only some. On the original site there are 577 media items, 513 of which are attached to posts or pages. On the new site, the importer only brought in 113 items, and all 113 remained unattached.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic