Make WordPress Core


Ignore:
Timestamp:
03/06/2010 09:01:58 PM (15 years ago)
Author:
nacin
Message:

Add nag for missing authentication keys in network.php. See #11816

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r13232 r13614  
    194194        $secret_keys = array();
    195195        require_once( ABSPATH . WPINC . '/pluggable.php' );
    196         for ( $i = 0; $i < 8; $i++ )
     196        for ( $i = 0; $i < 8; $i++ ) {
    197197            $secret_keys[] = wp_generate_password( 64, true, true );
     198        }
    198199    } else {
    199200        $secret_keys = explode( "\n", wp_remote_retrieve_body( $secret_keys ) );
    200         foreach ( $secret_keys as $k => $v )
     201        foreach ( $secret_keys as $k => $v ) {
    201202            $secret_keys[$k] = substr( $v, 28, 64 );
     203        }
    202204    }
    203205    $key = 0;
Note: See TracChangeset for help on using the changeset viewer.