Skip to:
Content

BuddyPress.org

Opened 9 years ago

Last modified 9 years ago

#7466 reopened defect (bug)

Activity Content Filter Priority and Slashes

Reported by: wilcosky Owned by:
Priority: normal Milestone:
Component: Core Version: 2.8.0
Severity: normal Keywords:
Cc:

Description

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?

bp-activity-filters.php

Change History (3)

#1 @tw2113
9 years ago

Curious what plugins are involved when it happens.

#2 @DJPaul
9 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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

#3 @magland
9 years ago

  • Resolution invalid
  • Status closedreopened

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

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