new-user-approve
new-user-approve copied to clipboard
The link you followed has expired
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.