[buddypress-trac] [BuddyPress Trac] #5926: getting an activity permalink instead of a shortlink

buddypress-trac noreply at wordpress.org
Mon Oct 6 19:01:41 UTC 2014


#5926: getting an activity permalink instead of a shortlink
-------------------------+------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.2
Component:  Activity     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------
Changes (by DJPaul):

 * keywords:   => has-patch


Comment:

 5926.01.patch is what I'm suggesting. It renames
 `bp_activity_get_permalink` to `bp_activity_get_shortlink`, and
 `bp_activity_get_permalink` is re-built to return the canonical URL
 instead. I've swapped some existing use out for the new shortlink function
 places where this function is used (where I think people might care) --
 purely for aesthetic backwards consistency, rather than any technical
 reason.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5926#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list