WordPress.org

Ready to get started?Download WordPress

Forums

Notifly
strip shortcodes from email (3 posts)

  1. David C
    Member
    Posted 3 years ago #

    Loving the plugin thus far but just noticed that it's not stripping shortcodes from the email. Could you get this fixed in the next release? Thanks guys!

    http://wordpress.org/extend/plugins/notifly/

  2. laura@cliniclink.org
    Member
    Posted 2 years ago #

    Is there any sort of workaround for this? I am not a programmer, but would love to be able to use the function strip_shortcodes, if only I knew where to put it :-)

    Thanks - Laura

  3. David C
    Member
    Posted 2 years ago #

    Hi Laura-

    Just do a search and replace in the plugin file notifly.php for:

    $comment->comment_content

    and replace it with

    strip_shortcodes( $comment->comment_content )

    I haven't actually done it myself but that should do the trick. Make sure to test it out afterwards. Also be aware that next time the plugin is updated, this change will be lost.

    Reference: http://codex.wordpress.org/Function_Reference/strip_shortcodes

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags