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

    r33079 r33734  
    266266                            // Get plugins list from that folder.
    267267                            if ( $folder_plugins = get_plugins( '/' . $plugin_slug ) ) {
    268                                 foreach( $folder_plugins as $plugin_file => $data ) {
     268                                foreach ( $folder_plugins as $plugin_file => $data ) {
    269269                                    $plugin_info[ $plugin_file ] = _get_plugin_data_markup_translate( $plugin_file, $data );
    270270                                    $plugin_info[ $plugin_file ]['is_uninstallable'] = is_uninstallable_plugin( $plugin );
Note: See TracChangeset for help on using the changeset viewer.