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

    r33593 r33734  
    257257        $keys = array_keys( $categories );
    258258
    259         foreach( $keys as $k ) {
     259        foreach ( $keys as $k ) {
    260260            if ( in_array( $categories[$k]->term_id, $args['selected_cats'] ) ) {
    261261                $checked_categories[] = $categories[$k];
Note: See TracChangeset for help on using the changeset viewer.