get_blog_permalink
-
I think get_blog_permalink() should consider the $wp_rewrite->use_trailing_slashes realted to the blog I want get the post permalink else it will add or not a final ‘/’ using the $wp_rewrite->use_trailing_slashes of the blog where I’m calling the functions…
Same for:
// I’m in blog XXX
switch_to_blog(YYY);
echo get_permalink(###); // retrives $wp_rewrite->use_trailing_slashes of blog XXX…
restore_current_blog();Any idea?
The topic ‘get_blog_permalink’ is closed to new replies.