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/users.php

    r33067 r33734  
    232232            $i = 0;
    233233            if ( is_array( $_POST['user'] ) && ! empty( $_POST['user'] ) )
    234                 foreach( $_POST['user'] as $id ) {
     234                foreach ( $_POST['user'] as $id ) {
    235235                    if ( ! current_user_can( 'delete_user', $id ) )
    236236                        continue;
Note: See TracChangeset for help on using the changeset viewer.