[wp-trac] [WordPress Trac] #34451: Embeds not working for non-WP sites

WordPress Trac noreply at wordpress.org
Tue Oct 27 02:42:01 UTC 2015


#34451: Embeds not working for non-WP sites
----------------------------------------------------+--------------------
 Reporter:  swissspidy                              |       Owner:
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  4.4
Component:  Embeds                                  |     Version:  trunk
 Severity:  major                                   |  Resolution:
 Keywords:  has-patch has-unit-tests needs-refresh  |     Focuses:
----------------------------------------------------+--------------------
Changes (by pento):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     refresh


Comment:

 This solution causes a race condition - if the iframe HTML loads before
 the parent `DOMDocumentLoaded` is fired, the iframe JS will try to grab
 the secret before its set in the URL.

 If the secret hasn't been added, the iframe should sleep and retry later.

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


More information about the wp-trac mailing list