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

buddypress-trac noreply at wordpress.org
Thu May 3 10:57:43 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 DJPaul):

 Why make it in Nouveau, only, and not in BuddyPress core? Messing about
 with the sanitisation filters suggests something has been done wrong.

 I think we need to remove lines 106-119 in
 https://buddypress.trac.wordpress.org/browser/trunk/src/bp-templates/bp-
 nouveau/includes/messages/loader.php#L106 and set those filters in bp-
 messages/filters.php (whatever the file is called, etc).

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


More information about the buddypress-trac mailing list