Support » Plugin: Better Notifications for WP » Sent only once for ‘Post Scheduled’ trigger?

  • Resolved Austin Ginder

    (@austinginder)


    Is it possible to only send out one email notification when using the ‘Post Scheduled’ trigger? It seems WordPress likes to trigger this event multiple when viewing the backend editor. I’d really like to use the trigger to send a notification to my editor whenever I schedule a post. However it currently spams him with many notifications as shown here: https://drive.google.com/file/d/1AezsgrFUHNfjMoH1w1rRLoXsxjM7Q7T9/view?usp=sharing. Also when editing a post which is scheduled, hitting schedule again (to save it) will again trigger another batch of emails. Being able to limit 1 email per post would be amazing. Is that possible?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @austinginder,
    Thanks for your message.

    It certainly shoulnd’t be doing that. Are you editing the post after scheduling it at all? Or are you literally just writing it and then pressing schedule and WordPress then sends out more than one notification for it?

    The second. I’m writing a post and as soon as I hit schedule multiple emails go out. Sometimes it’s 2 duplicates sometimes 3 or 4. On a development copy of the site I’ve narrowed it down to the new block editor. I’ve confirmed this behavior goes away if I install the classic editor plugin.

    Plugin Author bnfw

    (@voltronik)

    Hi @austinginder,
    Ah, yes. That’ll be the reason. Full Block Editor (Gutenberg) support will come but it’s not ready yet. In the meantime, I’ll see what I can do about preventing the duplicates for scheduled post. Regular new posts were fixed in the last update.

    Ah okay, sounds good. Yes a patch fix for the repeating emails would be great!

    Plugin Author bnfw

    (@voltronik)

    Hi @austinginder,
    Looking into this again at the mo.
    Just to check: are you using the latest versions of BNFW and WordPress?

    I am, WordPress v5.2 and BNFW v1.7.3.

    Plugin Author bnfw

    (@voltronik)

    Hi @austinginder,
    This was added to the most recent update of BNFW and subsequent future updates should help with this. Thanks for bearing with me whilst I investigated – it actually is a bug in the Block Editor which hasn’t been fixed yet.

    Great, thanks for the followup. I can confirm it’s working better since the update however it still appears to be double sending ever time I click schedule. At least now it’s not sending more than 2 copies.

    Plugin Author bnfw

    (@voltronik)

    Hi @austinginder,
    Ok, thanks for the update.

    I’ll see what I can do for the next update!.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.