Make WordPress Core

Ticket #16884: 16884.2.patch

File 16884.2.patch, 723 bytes (added by hakre, 14 years ago)

Parameter Order Fix

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