-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi, I think I discovered an incompatibility with this nice plugin and the Roots/Bedrock ecosystem.
They override the wp_set_password function but handle the REST and non-REST cases differently, which breaks bdvs-password-reset. See this implementation: https://github.com/roots/wp-password-bcrypt/blob/5b8542e71578f4540b8dd69c39ae9f156d29c200/wp-password-bcrypt.php#L86
I fixed/hacked this with these lines (because I couldn't find anything better for the moment):
<?php
// my-theme/functions.php
// Hack to fix "bdvs-password-reset" plugin on Roots/Bedrock
add_action('application_password_is_api_request', function(bool $isRest) {
return false;
}, 10, 2);I hope this helps and could be fixed 😉
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels