new-user-approve icon indicating copy to clipboard operation
new-user-approve copied to clipboard

The link you followed has expired

Open highlydeveloped opened this issue 5 years ago • 0 comments

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.

highlydeveloped avatar Aug 21 '19 19:08 highlydeveloped