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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user