Skip to content

incorrect mime-type on uploaded WXR documents #125

@pbiron

Description

@pbiron

When a WXR document is uploaded, the mime-type of attachment post is empty.

This is a not really a bug in this plugin and is actually a result of wp_import_handle_upload() passing $overrides['test_type'] = false to wp_handle_upload(). But my hope is that the feature of this plugin that allows choosing previously uploaded WXR documents from the media library will demonstrate why the bug in wp_import_handle_upload() should be fixed in core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions