[wp-trac] [WordPress Trac] #31071: media / post_mime_type related queries are very slow on larger sites

WordPress Trac noreply at wordpress.org
Wed Apr 5 20:23:56 UTC 2017


#31071: media / post_mime_type related queries are very slow on larger sites
-------------------------------------------------+-------------------------
 Reporter:  archon810                            |       Owner:  pento
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7.4
Component:  Media                                |     Version:  4.1
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch needs-testing  |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 [attachment:31071.2.diff] looks reasonable as well. The inline docs might
 need some small improvements (e.g. `@return bool|null Whether` instead of
 `@return bool|null whether …`). See
 https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/.

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


More information about the wp-trac mailing list