Make WordPress Core

Ticket #16884: 16884.patch

File 16884.patch, 598 bytes (added by hakre, 14 years ago)

removal of bogus code

  • 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/' );