[wp-trac] [WordPress Trac] #41445: post_parent can prevent media from embedding correctly

WordPress Trac noreply at wordpress.org
Mon Oct 1 18:04:32 UTC 2018

#41445: post_parent can prevent media from embedding correctly
 Reporter:  loboyle                              |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  REST API                             |     Version:  4.9.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:  rest-api
  feedback needs-unit-tests                      |

Comment (by sboisvert):

 Regarding the query performance concerns. VIP has added an index on
 meta_key, meta_value(50) to address these types of queries (the index
 replaces the meta_key index). This makes these reverse lookups go very
 quickly. Perhaps it would be worth including it in core for this. It seems
 that reverse lookups on meta_value are getting more and more common from
 the code we see.

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

More information about the wp-trac mailing list