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

buddypress-trac noreply at wordpress.org
Wed Apr 5 15:26:04 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):

 Replying to [comment:9 hnla]:
 > Just to over egg the pudding could we class the anchor:
 > `<a class="%s-link" href="%s">%s</a>` or `%s-home`
 >
 I'm happy to add whatever class name(s) you recommend, and think it's a
 good idea. Since these are general as well as specific, maybe we should
 add a couple, like a general `group-home-link` as well as a specific
 `%s-home` or `%s-link`? (I'm assuming we'd use the group's slug as the
 identifier in the class string.)

 Thanks!

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


More information about the buddypress-trac mailing list