Hi Oli!
I’m sorry about that error – it looks like I uploaded an early copy to the repository.
Here are the changes from the options.php file:
This goes under the register_setting() for NFRD_Username:
register_setting(
'NFRD_Group', // Option group
'NFRD_PW', // Option name
array( $this, 'sanitize' ) // Sanitize
);
and
this line (also in options.php):
$new_input['NFRD_Username'] = sanitize_text_field( $input['NFRD_Username'] );
should replace:
$new_input['NFRD_Username'] = absint( $input['NFRD_Username'] );
I’ve also replaced the plugin on WordPress if you would rather just delete and re-install again (I’m still learning – sorry!)
Thank you for pointing this out to me and I hope you have a wonderful day!
Best,
Scott