Commit graph

10 commits

Author SHA1 Message Date
Corey McKrill 7da0387df2
Log: Record event when contributor is removed from pledge 2019-10-29 12:42:34 -07:00
Corey McKrill 4476765503
Log: Add missing doc block 2019-10-29 12:42:33 -07:00
Corey McKrill 461278f525
Log: Record when contributors are added to a pledge
This also updates the function that creates new contributor posts. It
replaces `create_new_contributor` with `add_pledge_contributors`. This
way we can capture a batch of contributor additions all in one event by
collecting all the `wp_insert_post` results in an array and including
it as an action parameter.
2019-10-29 12:42:33 -07:00
Corey McKrill a41ecd7665
Log: Add a type prop to entries 2019-10-29 12:42:33 -07:00
Corey McKrill 0b80eb75d2
Log: Tweak entry data for email confirmation event 2019-10-29 12:42:33 -07:00
Corey McKrill ab760c3681
Log: Add entries for post status transition events 2019-10-29 12:42:33 -07:00
Corey McKrill 74c8cd1d9a
Log: Make last two params of add_log_entry optional 2019-10-29 12:42:33 -07:00
Corey McKrill 959b01e446
Log: Add entry when email address is confirmed 2019-10-29 12:42:33 -07:00
Corey McKrill a82059564c
Log: Trim prefix off of meta key before comparing to valid keys 2019-10-29 12:42:32 -07:00
Corey McKrill e15522756b
Logging: Initial commit with proof of concept 2019-10-29 12:42:32 -07:00