[buddypress-trac] [BuddyPress] #5174: Depending on the context, group name should not be filterable

buddypress-trac noreply at wordpress.org
Tue Sep 17 07:37:54 UTC 2013


#5174: Depending on the context, group name should not be filterable
-----------------------------------+------------------------------
 Reporter:  imath                  |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Groups                 |     Version:  1.8.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------

Comment (by imath):

 Replying to [comment:2 boonebgorges]:
 > What do you think?
 About 1 ( < thanks again for this one!! ) and 2 : I agree at 100% !!

 My first description is a bit confusing. Actually, in 5174.diff i do not
 touch to bp_get_group_name, i create 2 new template tags bp_group_title()
 (which echoes bp_get_group_title() ) and bp_current_group_title() (which
 echoes bp_get_current_group_title() )

 These 2 new functions don't use apply_filters() to be sure no plugin or
 theme can play with it, they just apply the formatting functions that are
 used for bp_get_group_name().

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


More information about the buddypress-trac mailing list