[wp-trac] [WordPress Trac] #32544: No function exposes all supported MIME types
WordPress Trac
noreply at wordpress.org
Mon Jun 8 16:13:32 UTC 2015
#32544: No function exposes all supported MIME types
----------------------------------------+------------------------------
Reporter: dan.rossiter | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Media | Version: 4.2.2
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by ipm-frommen):
I'm talking about the recursion (i.e., `get_service_mime_types` being
called within `get_service_mime_types`).
Regarding your desired functionality, could you (again) explain in more
detail what you want exactly? With the current `upload_mimes` filter (and
its parameters), I don't see any way to achieve what (I guess) you want.
If your ''structural change'' implicates removing the `$user` ID field
from the filter's parameters, this, of course, breaks backwards
compatibility.
I'm afraid, I just didn't understand what you would like to have.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32544#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list