[buddypress-trac] [BuddyPress Trac] #7485: Allow bp_get_group_permalink() to produce HTML links.

buddypress-trac noreply at wordpress.org
Tue Apr 4 20:45:01 UTC 2017

#7485: Allow bp_get_group_permalink() to produce HTML links.
 Reporter:  dcavins      |       Owner:  dcavins
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Groups       |     Version:  2.8.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |

Comment (by dcavins):

 Thanks @hnla and @boonebgorges for your feedback. I'm attaching a new
 patch that leaves `bp_get_group_permalink()` unchanged and adds a new
 function as suggested: `bp_get_group_link()`.

 Is this a useful template function, or is this one of those things that is
 no big deal to build when you need it, so there's no need for a dedicated
 function? I'm OK either way.

 Thanks again for looking at the first patch.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7485#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list