Ticket #142 (closed defect: fixed)
Wrong blog ID returned when going to another page/post
| Reported by: | bercon | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Version: | Keywords: | ||
| Cc: |
Description
I'm using revision 493 of BuddyPress and I noticed that when I went from the home page to another post/page that the menu links changed to another blog's page links although the page/post content was from the correct blog.
I found that by doing the changes below I got it to work correctly:
adding restore_current_blog(); on line 464 & removing switch_to_blog on line 467 in file bp-blogs.php
adding restore_current_blog(); on line 229 & line 360 in bp-blogs-classes.php
adding restore_current_blog(); on line 322 in bp-blogs-templatetags.php
Change History
Note: See
TracTickets for help on using
tickets.
