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/update-core.php

    r33704 r33734  
    136136        echo '<p class="hide-if-no-js"><a id="show-dismissed" href="#">'.__('Show hidden updates').'</a></p>';
    137137        echo '<ul id="dismissed-updates" class="core-updates dismissed">';
    138         foreach( (array) $dismissed as $update) {
     138        foreach ( (array) $dismissed as $update) {
    139139            echo '<li>';
    140140            list_core_update( $update );
     
    198198
    199199    echo '<ul class="core-updates">';
    200     foreach( (array) $updates as $update ) {
     200    foreach ( (array) $updates as $update ) {
    201201        echo '<li>';
    202202        list_core_update( $update );
Note: See TracChangeset for help on using the changeset viewer.