[wp-trac] [WordPress Trac] #35237: Invalid argument supplied for foreach() in /wp-includes/embed-template.php on line 54

WordPress Trac noreply at wordpress.org
Sun Dec 27 23:32:37 UTC 2015


#35237: Invalid argument supplied for foreach() in /wp-includes/embed-template.php
on line 54
--------------------------+--------------------
 Reporter:  MarkRH        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4.1
Component:  Embeds        |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 4.4.1


Comment:

 Good catch!

 I just uploaded a patch which should fix this for now. The goal is to
 simplify the embed template in 4.5, see #34561 for more information.

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


More information about the wp-trac mailing list