Forums

[resolved] 2.1 wp_notify_postauthor override (3 posts)

  1. pianosteve
    Member
    Posted 5 years ago #

    Recently, I wrote a plugin that overrode the core wp_notify_postauthor function to change the email format to HTML. It worked beautifully until I upgraded to 2.1.

    Now, even though I have deactivated and activated the plugin several times, the plugin is getting ignored completely and the core function fires. It got ignored for the first few comments, then I deactivated and activated, and it worked for a grand total of ONE comment.

    The next six comments were all the core function again.

    Any idea why this function is suddenly not getting plugged randomly in 2.1??

  2. pianosteve
    Member
    Posted 5 years ago #

    Update: It appears that there may be a conflict with the Spam Karma 2 plugin that I also recently installed. I will check into that.

  3. pianosteve
    Member
    Posted 5 years ago #

    It indeed was a conflict with Spam Karma 2 which also has a wp_notify_postauthor function declared.

    Sorry for accusing WP 2.1 of the issue!! ;)

Topic Closed

This topic has been closed to new replies.

About this Topic