Make WordPress Core

Ticket #19420: blog-perma-set-url-scheme.diff

File blog-perma-set-url-scheme.diff, 455 bytes (added by wonderboymusic, 12 years ago)
  • wp-includes/ms-functions.php

     
    314314 */
    315315function get_blog_permalink( $blog_id, $post_id ) {
    316316        switch_to_blog( $blog_id );
    317         $link = get_permalink( $post_id );
     317        $link = set_url_scheme( get_permalink( $post_id ) , 'http' );
    318318        restore_current_blog();
    319319
    320320        return $link;