[wp-trac] [WordPress Trac] #32544: No function exposes all supported MIME types

WordPress Trac noreply at wordpress.org
Tue Sep 17 23:36:25 UTC 2024


#32544: No function exposes all supported MIME types
-------------------------------------------------+-------------------------
 Reporter:  dan.rossiter                         |       Owner:  octalmage
     Type:  enhancement                          |      Status:  assigned
 Priority:  low                                  |   Milestone:
Component:  Media                                |     Version:  4.2.2
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests needs-testing                            |
-------------------------------------------------+-------------------------
Changes (by hozayx):

 * keywords:  good-first-bug has-patch has-unit-tests => good-first-bug has-
     patch has-unit-tests needs-testing


Comment:

 Refreshed the patch and renamed the function so that it is more clear to
 what it does.

 Testing Instructions
 1. Create a plugin or use your functions file from theme
 2. Add a custom mime type
 3. Test the new function by running `get_allowed_mime_types(null, true)`
 4. Verify that the custom mime type is in there

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32544#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list