pronamic / wp-pronamic-pay-restrict-content-pro

Restrict Content Pro driver for the WordPress payment processing library. http://www.wp-pay.org/extensions/restrict-content-pro/
3 stars 1 forks source link

Fix recursion conflict with RCP `rcp_set_customer_trialing_flag` (#26). #27

Closed rvdsteege closed 1 month ago

rvdsteege commented 1 month ago

Fix #26 by changing the priority with which we hook into rcp_transition_membership_status.

rvdsteege commented 1 month ago

Is it an idea to also add a documentation block above this that explains the importance of priority 9? With a link to issue:

Added in https://github.com/pronamic/wp-pronamic-pay-restrict-content-pro/pull/27/commits/38fa9444e8fd130dd6c4612fbe6d5a50096632e4.