wordpress设置允许上传任意文件类型

wp-config.php的/* That’s all, stop editing! Happy publishing. */这一行的上方加入一行代码:

define('ALLOW_UNFILTERED_UPLOADS', true);

Categories: 系统运维