BuddyDev

Search

[Resolved] Problem with the display of activities

  • Participant
    Level: Enlightened
    Posts: 28
    Alison on #41365

    Hello,

    I just noticed that when we post a post to a group and our text has an apostrophe, in the activity feed it shows up with a \. How to remove that? Thank you

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on #41374

    Hey,
    It’s A Well Known Bug in Buddypress, Don’t Think It’s Completely Fixed Yet.
    Try Adding This to functions.php or Code Snippets, if You Have it Installed

    
    add_action('plugins_loaded', 'buddydev_buddypress_get_activty_content_body_stripslashes' );
    function buddydev_buddypress_get_activty_content_body_stripslashes () {
    add_filter( 'bp_get_activity_content_body', 'stripslashes_deep' );
    }
    

    Cromacio

  • Participant
    Level: Enlightened
    Posts: 28
    Alison on #41391

    Hello,

    It seems to works.

    Thank you !

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on #41397

    Glad to Know That 🙂
    Cromacio

The topic ‘ [Resolved] Problem with the display of activities’ is closed to new replies.

This topic is: resolved