Skip to:

Opened 7 years ago

Last modified 7 years ago

#7466 reopened defect (bug)

Activity Content Filter Priority and Slashes

Reported by: wilcosky's profile wilcosky Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.0
Component: Core Keywords:


Most likely due to other plugins, periodically, the stripslashes filter is not working. Slashes appear in the activity feed. The current priority level is 5. By changing the level down one to 4, this resolves the issue. Should the priority level be changed to 4 or lower in future releases?


Change History (3)

#1 @tw2113
7 years ago

Curious what plugins are involved when it happens.

#2 @DJPaul
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

We'll need more information how to recreate before we can consider. Thanks.

#3 @magland
7 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

I also had backslashes appearing in my activity stream.
Adding the following to my bp-custom.php appears to solve the issue:

add_filter( 'bp_get_activity_content_body',          'stripslashes_deep', 1 );
Note: See TracTickets for help on using tickets.