[buddypress-trac] [BuddyPress Trac] #7795: BP Nouveau: restrict Messages UI editor buttons and allowed tags.

buddypress-trac noreply at wordpress.org
Sat May 5 07:33:51 UTC 2018


#7795: BP Nouveau: restrict Messages UI editor buttons and allowed tags.
-----------------------------------+---------------------
 Reporter:  imath                  |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  3.0
Component:  Templates              |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------

Comment (by imath):

 7795.3.patch introduce `bp_get_allowedtags()` that
 `bp_activity_filter_kses()` and `bp_messages_filter_kses()` are using to
 filter their activity/message content. Both of the functions are including
 a filter `bp_`[component]`_allowed_tags` in case developers want to extend
 one or the other or both.

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


More information about the buddypress-trac mailing list