Thanks everybody for the info. A workaround would be to temporarily add this to wp-config.php:
define('ALLOW_UNFILTERED_UPLOADS', true);
And temporarily remove or comment out this block in wp-content/plugins/widget-importer-exporter/includes/import.php:
// Check file type
// This will also fire if no file uploaded
$wp_filetype = wp_check_filetype_and_ext( $uploaded_file['tmp_name'], $uploaded_file['name'], false );
if ( 'wie' != $wp_filetype['ext'] && ! wp_match_mime_types( 'wie', $wp_filetype['type'] ) ) {
wp_die(
wp_kses(
__( 'You must upload a <b>.wie</b> file generated by this plugin.', 'widget-importer-exporter' ),
array(
'b' => array()
)
),
'',
array( 'back_link' => true )
);
}
You’ll want to undo these changes after you import since it’s possible they could create a security issue. Better safe than sorry.
I’ll decide tomorrow if I’ll change the way the plugin works to deal with this or if I’ll wait for an update to WordPress. If it’s deemed urgent in core then an update might be just a few days away but it could also be weeks or months. I’ll check the trac ticket tomorrow to see if I can gauge that (assuming I’m right about that being the issue).
I’m sure there were be more threads open on the .org forums as this seems to affect uploads of various types in general. And I know a lot of theme shops ship WIE files for their sample content. We’ll get this resolved one way or another without too much delay. ??