Ticket #19420: blog-perma-set-url-scheme.diff
File blog-perma-set-url-scheme.diff, 455 bytes (added by , 12 years ago) |
---|
-
wp-includes/ms-functions.php
314 314 */ 315 315 function get_blog_permalink( $blog_id, $post_id ) { 316 316 switch_to_blog( $blog_id ); 317 $link = get_permalink( $post_id);317 $link = set_url_scheme( get_permalink( $post_id ) , 'http' ); 318 318 restore_current_blog(); 319 319 320 320 return $link;