WooCommerce CSV 导入器在 WordPress 5.0 中不工作

WooCommerce CSV Importer is not working in WordPress 5.0

将 WordPress 4.9.8 更新到 WordPress 5.0 后,WooCommerce CSV 导入似乎已损坏。它不允许我将 CSV 文件上传到 WordPress,有人可以解决这个问题吗?

错误:抱歉,出于安全原因不允许使用此文件类型

截图:http://nimb.ws/uyGKEY

这与WordPress版本无关。

今天我 post 几个小时前在 this post

回答了完全相同的问题

I believe, everything is clearly mentioned in the error and you highlighted that too : This file type is not permitted for security reasons

To fix this, add this code in wp-config.php

 define('ALLOW_UNFILTERED_UPLOADS', true); 

Or you can also use a Plugin called "WP Add Mime Types", And add ONLY types which you want to be added