[wp-trac] [WordPress Trac] #52759: Add a filter to get_available_post_mime_types() function to allow overriding extremely slow query.

WordPress Trac noreply at wordpress.org
Tue Aug 29 15:56:33 UTC 2023


#52759: Add a filter to get_available_post_mime_types() function to allow
overriding extremely slow query.
-----------------------------------+--------------------------
 Reporter:  maciejmackowiak        |       Owner:  johnbillion
     Type:  feature request        |      Status:  reopened
 Priority:  normal                 |   Milestone:  6.4
Component:  Media                  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  performance
-----------------------------------+--------------------------

Comment (by rcorrales):

 Thanks for the suggestion. I added a PR for updating the filter name to
 `pre_get_available_post_mime_types`.

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


More information about the wp-trac mailing list