Make WordPress Core

Ticket #16884: 16884.4.patch

File 16884.4.patch, 600 bytes (added by hakre, 14 years ago)

wp_guess_url()

  • wp-admin/setup-config.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    194194                 * @ignore
    195195                 */
    196196                function get_bloginfo() {
    197                         return ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . str_replace( $_SERVER['PHP_SELF'], '/wp-admin/setup-config.php', '' ) );
     197                        return wp_guess_url();
    198198                }
    199199                /**#@-*/
    200200                $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );