Make WordPress Core


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

foreach is a statement, not a function.

See #33491.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/themes.php

    r33079 r33734  
    5454                exit;
    5555            }
    56             foreach( (array) $themes as $theme )
     56            foreach ( (array) $themes as $theme )
    5757                $allowed_themes[ $theme ] = true;
    5858            update_site_option( 'allowedthemes', $allowed_themes );
     
    6666                exit;
    6767            }
    68             foreach( (array) $themes as $theme )
     68            foreach ( (array) $themes as $theme )
    6969                unset( $allowed_themes[ $theme ] );
    7070            update_site_option( 'allowedthemes', $allowed_themes );
Note: See TracChangeset for help on using the changeset viewer.