[buddypress-trac] [BuddyPress] #4367: Changing WordPress permalinks breaks old BuddyPress activity updates links

buddypress-trac noreply at wordpress.org
Sat Oct 19 19:56:43 UTC 2013


#4367: Changing WordPress permalinks breaks old BuddyPress activity updates links
---------------------------+---------------------
 Reporter:  dvd3141        |       Owner:  r-a-y
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  1.9
Component:  Rewrite Rules  |     Version:  1.0
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |
---------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7447"]:
 {{{
 #!CommitTicketReference repository="" revision="7447"
 Blogs: Modify recorded post permalink to use shortlink.

 Previously, when BuddyPress recorded the post permalink in the
 activity stream, it would use the current permalink structure of the blog.

 The problem with this is if the blog changed its permalink structure,
 the post permalink in the activity post would not resolve properly
 because of the change.

 This commit alters the recorded post permalink to use the shortlink
 (domain/?p=POST_ID).  Because WP's rewrite rules will pick up the
 'p' query parameter and redirect to the proper post permalink, this
 will ensure that the post permalink for future activity blog posts
 will work as intended.

 Fixes #4367.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4367#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list