如何在 Wordpress 中允许所有文件类型进行媒体上传
在你自己的博客或网站上,你通常不在乎 Wordpress 上传限制,只想能够上传所有文件类型,即上传任何文件类型。
为此,将此行追加到 wp-config.php:
wp_config_allow_uploads.php
define('ALLOW_UNFILTERED_UPLOADS', true);然后,从 Wordpress 注销并重新登录。
之后,你应该能够上传任何文件,无论其文件类型。
Check out similar posts by category:
Wordpress
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow