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

The link you followed has expired #79

Open
highlydeveloped opened this issue Aug 21, 2019 · 0 comments
Open

The link you followed has expired #79

highlydeveloped opened this issue Aug 21, 2019 · 0 comments

Comments

@highlydeveloped
Copy link

highlydeveloped commented Aug 21, 2019

When setting the approve | denied status via bulk update the error 'The link you followed has expired.' is fired.

The table links for approve | deny using the following action and filter require disabling/commenting out for the bulk update to function:
add_filter( 'user_row_actions', array( $this, 'user_table_actions' ), 10, 2 );
add_action( 'load-users.php', array( $this, 'update_action' ) );

The 'update_action' fires before 'bulk_action' which triggers the error (check_admin_referer receives the incorrect nonce).

Have to have either inline approval or bulk approval (they work independently) enabled. Both don't function together.

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

No branches or pull requests

1 participant