Changeset 13614 for trunk/wp-admin/setup-config.php
- Timestamp:
- 03/06/2010 09:01:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/setup-config.php
r13232 r13614 194 194 $secret_keys = array(); 195 195 require_once( ABSPATH . WPINC . '/pluggable.php' ); 196 for ( $i = 0; $i < 8; $i++ ) 196 for ( $i = 0; $i < 8; $i++ ) { 197 197 $secret_keys[] = wp_generate_password( 64, true, true ); 198 } 198 199 } else { 199 200 $secret_keys = explode( "\n", wp_remote_retrieve_body( $secret_keys ) ); 200 foreach ( $secret_keys as $k => $v ) 201 foreach ( $secret_keys as $k => $v ) { 201 202 $secret_keys[$k] = substr( $v, 28, 64 ); 203 } 202 204 } 203 205 $key = 0;
Note: See TracChangeset
for help on using the changeset viewer.