Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back one-click approve/deny on edit user page. #163

Open
dparker1005 opened this issue Nov 4, 2022 · 1 comment
Open

Add back one-click approve/deny on edit user page. #163

dparker1005 opened this issue Nov 4, 2022 · 1 comment

Comments

@dparker1005
Copy link
Member

In PMPro Approvals version 1.5, we swapped out the one-click Approve | Deny links on the Edit User page for a link to the approvals list. This change was made to add MMPU compatibility for the plugin.

It would be nice to add back the one-click option in a MMPU-compatible way in the future. This would likely involve showing separate approve/deny buttons per level that a user is pending for.

In the meantime, we have a code recipe here to add back the old functionality for sites that need the one-click option (though this is not MMPU-compatible):
https://gist.github.com/dparker1005/2b29b20a6eb1dc247423ad622fcb22c7

@andrewlimaza
Copy link
Collaborator

Maybe we can get smart about this. If there's only one level for approval, show an inline solution but if there's more than one move to the "Manage Approval Status".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants