Make WordPress Core

Ticket #16884: 16884.3.patch

File 16884.3.patch, 604 bytes (added by hakre, 14 years ago)

As needed/noramlly passed to the API

  • wp-admin/setup-config.php

     
    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 ( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . '/' );
    198198                }
    199199                /**#@-*/
    200200                $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );