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

buddypress-trac noreply at wordpress.org
Sat Sep 14 10:08:00 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       |   Keywords:
-------------------------+-----------------------------
 As announced in #5173, i think it might be interesting to avoid the group
 name to be filterable by plugins in some contexts :
 - when used inside of a title attribute of links
 - when used in an edit field
 - when used in a select option
 - when used in the title attribute of the rss feed

 So far any plugin can filter 'bp_get_group_name' and eventually add some
 extra html to it after the sanitizing filters occurred (like i do in BP
 Sticky Groups! sorry :( )

 So i think 2 new template tags should be used to avoid the group name to
 be filtered by plugins in the 4 cases i've listed above.

 I've included my suggestion in the attached diff.

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


More information about the buddypress-trac mailing list