WordPress.org

Make WordPress Core

Ticket #20760: 20760.2.patch

File 20760.2.patch, 670 bytes (added by SergeyBiryukov, 23 months 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'] . str_replace( '/wp-admin/setup-config.php', '', $_SERVER['PHP_SELF'] ) ); 
    201201                } 
    202202                /**#@-*/ 
    203203                $secret_keys = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' );