WordPress.org

Make WordPress Core

Ticket #20760: 20760.patch

File 20760.patch, 598 bytes (added by johnbillion, 9 years ago)
  • wp-admin/setup-config.php

     
    197197                 * @ignore
    198198                 */
    199199                function get_bloginfo() {
    200                         return ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . str_replace( $_SERVER['PHP_SELF'], '/wp-admin/setup-config.php', '' ) );
     200                        return ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] );
    201201                }
    202202                /**#@-*/
    203203                $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );