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/includes/ms.php

    r33569 r33734  
    159159
    160160        $stack = array_reverse( $stack ); // Last added dirs are deepest
    161         foreach( (array) $stack as $dir ) {
     161        foreach ( (array) $stack as $dir ) {
    162162            if ( $dir != $top_dir)
    163163            @rmdir( $dir );
     
    803803            ?>
    804804            <select name="primary_blog" id="primary_blog">
    805                 <?php foreach( (array) $all_blogs as $blog ) {
     805                <?php foreach ( (array) $all_blogs as $blog ) {
    806806                    if ( $primary_blog == $blog->userblog_id )
    807807                        $found = true;
Note: See TracChangeset for help on using the changeset viewer.