[wp-trac] [WordPress Trac] #36767: oEmbed performance optimisation

WordPress Trac noreply at wordpress.org
Wed Jun 15 11:22:56 UTC 2016


#36767: oEmbed performance optimisation
--------------------------+--------------------------
 Reporter:  bactisme      |       Owner:  swissspidy
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6
Component:  Embeds        |     Version:  4.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  performance
--------------------------+--------------------------
Changes (by swissspidy):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37708"]:
 {{{
 #!CommitTicketReference repository="" revision="37708"
 Embeds: Improve performance when embedding a post from the current site.

 When the post being embedded is from the same site, there's no reason to
 do an HTTP request for it. The data can be fetched directly using
 `get_oembed_response_data()`.

 Fixes #36767 for trunk.
 }}}

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


More information about the wp-trac mailing list