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/setup-config.php

    r32654 r33734  
    310310<p><?php _e( 'You can create the <code>wp-config.php</code> manually and paste the following text into it.' ); ?></p>
    311311<textarea id="wp-config" cols="98" rows="15" class="code" readonly="readonly"><?php
    312         foreach( $config_file as $line ) {
     312        foreach ( $config_file as $line ) {
    313313            echo htmlentities($line, ENT_COMPAT, 'UTF-8');
    314314        }
     
    337337
    338338        $handle = fopen( $path_to_wp_config, 'w' );
    339         foreach( $config_file as $line ) {
     339        foreach ( $config_file as $line ) {
    340340            fwrite( $handle, $line );
    341341        }
Note: See TracChangeset for help on using the changeset viewer.