WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Group Email Subscription
Emails not parsing quotes and apostrophes (7 posts)

  1. gunnargabrielson
    Member
    Posted 2 years ago #

    Emails from this plugin are not properly parsing special characters like quotes or apostrophes. Instead they come through like:

    [Sam's Site] New Posts Since Last Visit

    Stalfos Blavano wrote:
    A button for “New Posts” in threads we’ve already posted in.

    http://wordpress.org/extend/plugins/buddypress-group-email-subscription/

  2. Boone Gorges
    Moderator
    Plugin Author

    Posted 2 years ago #

    That looks good to me. Maybe it got double encoded here on the forums? Can you post the problematic email again, this time between backticks, so that it is unformatted?

  3. gunnargabrielson
    Member
    Posted 2 years ago #

    Oh yes you're right, I didn't check my post after I made it. Here is a screenshot:

    http://i.imgur.com/LWTwE.jpg

  4. nickharambee
    Member
    Posted 2 years ago #

    I too am noticing this behaviour, specifically with apostrophes - I haven't tested other special characters.

    I am using latest versions (WordPress 3.4, Buddypress 1.5.6 and BuddyPress Group Email Subscription 3.1.2)

  5. nickharambee
    Member
    Posted 2 years ago #

    I have now fixed this, thanks to a post from sboisvert. Adding the following line to bp-activity-subscription-digest.php did the job:

    add_filter('digest_item_content','stripslashes');

  6. Matt
    Member
    Posted 1 year ago #

    I still have this problem; anybody else?

  7. Matt
    Member
    Posted 1 year ago #

    Actually, I think the problem just lies in the admin notices that are sent. The regular digests are stripping out the slashes. Is there a way to apply this filter to the admin emails? Maybe add something in bp-activity-subscription-functions.php in the function ass_admin_notice() section starting at line 1401?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic