Opened 15 years ago
Closed 15 years ago
#1277 closed defect (bug) (no action required)
"Latest Post" Permalink in [Blogs] page is wrong
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | permalink | |
Cc: |
Description
When member's blog permalink set to "/%category%/%postname%/",
every member's "Latest Post" (except main blog) permalink in [Blogs] page is set to
http://domain.com/membername/<latest category name from main blog>/postname
Change History (15)
#2
@
15 years ago
- Resolution set to worksforme
- Status changed from new to closed
Marked as "worksforme" until can be duplicated.
#3
@
15 years ago
- Resolution worksforme deleted
- Status changed from closed to reopened
I could narrow down a bit on the problem, i try to setup a new installation with sud-domain setting in mu, i found the there is no issues on permalink, and i make a sub-directories setting installation again, problem happen.
#4
follow-up:
↓ 5
@
15 years ago
If you can turn Buddypress off and get the same issue, then file the trac ticket over at http://trac.mu.wordpress.org/ becasue then it would be a WPMU issue.
#5
in reply to:
↑ 4
@
15 years ago
Replying to andrea_r:
If you can turn Buddypress off and get the same issue, then file the trac ticket over at http://trac.mu.wordpress.org/ becasue then it would be a WPMU issue.
It could be a issue on buddypress core, because the permalink is work fine on site-wide-activity widget or another third party widget...
#8
@
15 years ago
- Resolution set to worksforme
- Status changed from reopened to closed
I can't reproduce this. Please provide step-by-step instructions to reproduce.
#9
follow-up:
↓ 10
@
15 years ago
- Resolution worksforme deleted
- Status changed from closed to reopened
@andy
- setup sub-domain configuration bp+MU
- Create a "Post Category" called [MYCAT1] on main blog
- Create a userX with blog enabled
- Use that userX to post a blog post(my post 1) without giving it an Category.
- Navigate to buddypress [Blogs] page, the userX latest post was given a permalink http://domain.com/userX/MYCAT1/my-post-1
Second case,
Step 4. Use that userX to post a blog post(my post 2) with specifying a Category
- Navigate to buddypress [Blogs] page, the userX latest post was given a permalink
http://domain.com/userX/uncategorized/my-post-2/
It only happen on sub-domain MU configuration.
#10
in reply to:
↑ 9
;
follow-up:
↓ 11
@
15 years ago
Replying to levinng:
@andy
- setup sub-domain configuration bp+MU
- Create a "Post Category" called [MYCAT1] on main blog
- Create a userX with blog enabled
- Use that userX to post a blog post(my post 1) without giving it an Category.
- Navigate to buddypress [Blogs] page, the userX latest post was given a permalink http://domain.com/userX/MYCAT1/my-post-1
Second case,
Step 4. Use that userX to post a blog post(my post 2) with specifying a Category
- Navigate to buddypress [Blogs] page, the userX latest post was given a permalink
http://domain.com/userX/uncategorized/my-post-2/
It only happen on sub-domain MU configuration.
sub-domain configuration, sorry it is sub-direcotry configuration MU
#11
in reply to:
↑ 10
@
15 years ago
sub-domain configuration, sorry it is sub-direcotry configuration MU
and
both main blog and userX permalink setting is set to /%category%/%postname%/
#12
@
15 years ago
- Priority changed from critical to major
Still struggling to reproduce this, can anyone else reproduce this using the above steps?
#13
@
15 years ago
After hours hacking and var dumping, i found that the line 744 in bp-blogs-templatetags calling the core WP get_the_category which is always getting the root blog term meta instead of individual's meta when my MU configuration is set to sub-directory.
Can anyone else confirm this?
Tested on testbp.org with permalinks set that way before and after making a new post. Also testing on my dev environment and cannot reproduce the problem.
All links to posts appear correct in testbp.org/blogs, and when viewing a users blogs/recent-posts/ pages.
Check johnjamesjacoby.testbp.org and look at my blog posts. If there is a place where this error occurs, please link me directly to it.