WordPress.org

Make WordPress Core

Ticket #20204: 20204.patch

File 20204.patch, 466 bytes (added by johnbillion, 2 years ago)
  • wp-includes/ms-blogs.php

     
    3131 */ 
    3232function get_blogaddress_by_id( $blog_id ) { 
    3333        $bloginfo = get_blog_details( (int) $blog_id, false ); // only get bare details! 
    34         return esc_url( 'http://' . $bloginfo->domain . $bloginfo->path ); 
     34        return esc_url( $bloginfo->siteurl ); 
    3535} 
    3636 
    3737/**