Hey, @danielbachhuber nice to see you around here ??
I’ve been looking into a site that creates a transient when adding a new user. That transient contains a key that is being used to validate the user by sending an email to the user with that key.
The plugin that actually does that all is masterstudy-lms-learning-management-syste
m.
This particular plugin on its line 389 in the file /lms/classes/user.php deletes the user (wp_delete_user) that is currently saved in the transient (with the key) and will be created after the activation via email.
On a site with wp-redis installed and activated, that transient that is being saved right before the wp_delete_user (same file, line 384) gets flushed when the plugin executes the wp_delete_user.
By deactivating wp-redis, this doesn’t happen anymore.
I’ve also made a modification to that plugin moving the wp_delete_user right above the set_transient in the line 384 which fixes the problem as well, but still, I’m kinda interested in why wp_delete_user is triggering a flush transients, at least in this particular site.
The core version currently in that site is 5.7.2. The version of the wp-redis is 1.1.2.