Make WordPress Core


Ignore:
Timestamp:
08/25/2015 08:27:56 PM (11 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/plugin.php

    r32965 r33734  
    766766
    767767        $checked = array();
    768         foreach( $plugins as $plugin )
     768        foreach ( $plugins as $plugin )
    769769                $checked[] = 'checked[]=' . $plugin;
    770770
     
    814814        $errors = array();
    815815
    816         foreach( $plugins as $plugin_file ) {
     816        foreach ( $plugins as $plugin_file ) {
    817817                // Run Uninstall hook.
    818818                if ( is_uninstallable_plugin( $plugin_file ) ) {
Note: See TracChangeset for help on using the changeset viewer.