WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/25/2015 08:27:56 PM (6 years ago)
Author:
wonderboymusic
Message:

foreach is a statement, not a function.

See #33491.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-embed.php

    r33642 r33734  
    273273            return;
    274274
    275         foreach( $post_metas as $post_meta_key ) {
     275        foreach ( $post_metas as $post_meta_key ) {
    276276            if ( '_oembed_' == substr( $post_meta_key, 0, 8 ) )
    277277                delete_post_meta( $post_ID, $post_meta_key );
Note: See TracChangeset for help on using the changeset viewer.