| 1 | ### Eclipse Workspace Patch 1.0 |
|---|
| 2 | #P wordpress-trunk |
|---|
| 3 | Index: wp-admin/setup-config.php |
|---|
| 4 | =================================================================== |
|---|
| 5 | --- wp-admin/setup-config.php (revision 17521) |
|---|
| 6 | +++ wp-admin/setup-config.php (working copy) |
|---|
| 7 | @@ -194,7 +194,7 @@ |
|---|
| 8 | * @ignore |
|---|
| 9 | */ |
|---|
| 10 | function get_bloginfo() { |
|---|
| 11 | - return ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . str_replace( $_SERVER['PHP_SELF'], '/wp-admin/setup-config.php', '' ) ); |
|---|
| 12 | + return wp_guess_url(); |
|---|
| 13 | } |
|---|
| 14 | /**#@-*/ |
|---|
| 15 | $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' ); |
|---|