Open Schwankenson opened 6 days ago
Hi @Schwankenson
I wanted to check if there’s any custom code in your theme that alters the behavior of the wp_mail
function. Specifically, the replace_magic_link_in_wp_mail
is hooked into wp_mail
, and the message attribute should be available there. You can find more details in the WordPress core code here: https://github.com/WordPress/WordPress/blob/6.6.2/wp-includes/pluggable.php#L192.
It may be worth considering adding additional controls to ensure everything functions as expected, tho.
Dear handyplugins Team,
in my custom coded theme I get an error when changing password of a user in WP admin, since I activated Magic Links Plugin:
I think a simple check if $atts_message is set could avoid this.