Wrong notification on Post Update with Gravity Forms Post Updates plugin
-
I am using Gravity Forms to let (logged in) site users submit posts from the front end. I’ve setup BNFW to send 2 “New Post Published” notifications when a new post is submitted: one to the admin and one to the user. This works great.
I also use Gravity Forms and the Gravity Forms Post Updates plugin so that an admin can update these posts from the front end. I want to send a notification to the post submitter when their post has been updated by the admin so I’ve created a “Post Updated” notification. However when the post is edited on the front end, instead of the “Post Updated” notification, the 2 “New Post Published” notifications are sent instead.
When a post is updated using Gravity Forms and Gravity Forms Post Updates, the post’s post_status is first changed to “draft” and then to “publish” again, which triggers the “New Post Published” notifications.
Is there a way to check if the post_status was changed twice (publish->draft, draft->publish) and send the “Post Updated” instead of the “New Post Published” notification?
ps. This issue has been reported in the past: Issue with Gravity Forms
- The topic ‘Wrong notification on Post Update with Gravity Forms Post Updates plugin’ is closed to new replies.