[wp-meta] [Making WordPress.org] #5204: WordPress Multisite Network Settings "Upload file types" Not Working

Making WordPress.org noreply at wordpress.org
Sun May 10 11:20:06 UTC 2020

#5204: WordPress Multisite Network Settings "Upload file types" Not Working
 Reporter:  rupok    |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:
Component:  General  |   Keywords:  needs-patch
 Steps to replicate:

 - Create a fresh WordPress Multisite
 - Go to My Sites > Network Admin > Settings
 - Check the "Upload file types" option. "ttf" is not allowed there by
 - Add "ttf" in that input field, Save.

 Now try uploading a ttf file through the native media uploader. WordPress
 still won't allow uploading .ttf files.

 - Add the following line in wp-config.php file and save:

 Now you can upload .ttf files.

 - Not only that, now you can upload files which have type not in the
 "Upload file types" settings.

 Summary: "Upload file types" declarations are not working. The workaround
 is not a fix because it allows *all* extensions. Sorry if I'm doing, but
 am I missing anything?

Ticket URL: <https://meta.trac.wordpress.org/ticket/5204>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list