Closed pondermatic closed 1 year ago
Niiiiice
Although this doesn't introduce any issue at the moment, right? The third parameter is superfluous, but the second parameter is correct.
That's good that the 2nd parameter is correct. Passing an extra parameter doesn't seem to generate an error.
https://github.com/gocodebox/lifterlms-rest/blob/a12d8641a711087e5d7f95c6b211b8800644fa69/includes/server/class-llms-rest-enrollments-controller.php#L1128
LLMS_REST_Enrollments_Controller::handle_status_update()
is giving an extra trigger argument toLLMS_Student::enroll()
.The extra parameter was added in commit 99a0adb68aeb56dbebcb9a47622651506f34017e.