• It seems BadgeOS is adding a +1 to a users badgeos_new_post trigger count in the _badgeos_triggered_triggers meta for that user when they press “Update” on a post they published. Which is causing badges to be earned for no reason.

    How I verified: Went into the meta and changes the i: value of the badgeos_new_post trigger for that user to 5 (number of posts they have posted), had the users press update on a post, did a new SQL query and the i: count for that trigger went up by one.

    Not sure why this would be happening, any thoughts?

    Then a random question, what does the s: value mean for the trigger meta?

    https://wordpress.org/plugins/badgeos/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter twcstuff

    (@twcstuff)

    Any chance you have a fix for this? Only solution I can think of is something to do with when save_post() it tells badgeos to ignore and not trigger. Or is there a reason this is triggering?

    Thread Starter twcstuff

    (@twcstuff)

    Or even use transition_post_status to check if the old and new status are both publish and if so, don’t trigger.

    [Moderator Note: No bumping, thank you.]

    Plugin Author learningtimes

    (@learningtimes)

    I was able to reproduce this issue. We will be prioritizing a fix in the near future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Updates are counting as triggers’ is closed to new replies.