Closed mscurtescu closed 1 year ago
Describe the bug
Clicking "Unlink from Hellō" on the profile page results in an error shown at the top of the page: "Unlink failed: no current user was found"
To Reproduce Steps to reproduce the behavior:
/wp-admin/profile.php
Screenshots
Expected behavior
Account should be unlinked and you should see a success message at the top of the profile page.
The bug is most likely caused by a permission check in includes/hello-login-client-wrapper.php:
includes/hello-login-client-wrapper.php
if ( current_user_can( 'edit_user' ) ) { ... }
https://github.com/hellocoop/wordpress/commit/0d949174920e4bcedb700be71857cfde4639cb32
Describe the bug
Clicking "Unlink from Hellō" on the profile page results in an error shown at the top of the page: "Unlink failed: no current user was found"
To Reproduce Steps to reproduce the behavior:
/wp-admin/profile.php
.Screenshots
Expected behavior
Account should be unlinked and you should see a success message at the top of the profile page.