﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
15435,Network blog query returns wrong permalinks,developdaly,nacin,"When querying for posts on network blogs (i.e. a loop for all posts on all network blogs) the permalink of a post is relative to the current site (or top site -- not sure).

The following returns http://xyz.example.com/%post_name% for all posts, no matter what their subdomain is.

So a post usually found at http://abc.example.com/hello-world/ outputs as http://xyz.example.com/hello-world/

{{{
query_posts( 'blogid='. $blogid );
while (have_posts()) : the_post();
echo get_permalink();
endwhile;
}}}

All other post data is intact. The titles, categories, etc. all match the post. Only the permalink is incorrect.
",defect (bug),closed,normal,,Permalinks,3.1,normal,invalid,,kapeels patrick@…
