[wp-trac] [WordPress Trac] #40101: Cannot upload WOFF files (unless you're a multisite super-admin?)
WordPress Trac
noreply at wordpress.org
Wed Mar 15 00:55:50 UTC 2017
#40101: Cannot upload WOFF files (unless you're a multisite super-admin?)
--------------------------+--------------------
Reporter: eddiemcham | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.4
Component: Upload | Version: 4.7.3
Severity: blocker | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by SergeyBiryukov):
Replying to [comment:18 SergeyBiryukov]:
> Multisite super admins have the [source:tags/4.7.3/src/wp-
includes/capabilities.php#L338 unfiltered_upload] capability, so no
additional file type checks are performed.
Scratch that, now I see that it's only true if `ALLOW_UNFILTERED_UPLOADS`
constant is also defined. Maybe you do have it defined though?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40101#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list