[buddypress-trac] [BuddyPress] #5270: Ugly URLs in activity stream 'new post' entries

buddypress-trac noreply at wordpress.org
Thu Nov 28 23:39:51 UTC 2013


#5270: Ugly URLs in activity stream 'new post' entries
--------------------------+------------------------------
 Reporter:  henrywright   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by henrywright):

 In bp-blogs-functions.php at line 323 i'm thinking replace

 {{{
 $post_permalink = add_query_arg(
     'p',
     $post_id,
     trailingslashit( get_home_url( $blog_id ) )
 );
 }}}

 with

 {{{
 $post_permalink = get_permalink( $post_id );
 }}}

 This works for standard BP but I haven't been able to test on multisite.

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


More information about the buddypress-trac mailing list