[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
Tue Dec 29 00:38:58 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:
--------------------------+--------------------
Comment (by dd32):
Could this entire check be `if ( ! empty( $meta['sizes'] ) )`? Is there a
case where meta might be a non-false non-array or sizes contain anything
other than an array?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35237#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list