foreach is a statement, not a function.

See #33491.

Built from https://develop.svn.wordpress.org/trunk@33734


git-svn-id: http://core.svn.wordpress.org/trunk@33702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-08-25 20:28:22 +00:00
parent c2a0336d22
commit ef87172270
47 changed files with 98 additions and 98 deletions

View File

@@ -272,7 +272,7 @@ class WP_Embed {
if ( empty($post_metas) )
return;
foreach( $post_metas as $post_meta_key ) {
foreach ( $post_metas as $post_meta_key ) {
if ( '_oembed_' == substr( $post_meta_key, 0, 8 ) )
delete_post_meta( $post_ID, $post_meta_key );
}