• Hi everyone,

    it seems there are a few places in the code where the strtoupper()-function is missing, thus causing troubles as already stated here for one instance.

    I just explored the plugin code regarding the delete-function for generated key and the INVITATION-key. There is another bug in the “back-end.php” on line 201.
    the line

    $code = isset( $_GET['code'] ) ? sanitize_key( $_GET['code']) : false;

    should actually be

    $code = isset( $_GET['code'] ) ? strtoupper(sanitize_key( $_GET['code'])) : false;

    Fixed the issue for me. Hope this helps!
    Maybe the author could check his otherwise excellent plugin regarding this bug(s) and publish an update.

    https://ww.wp.xz.cn/plugins/baw-invitation-codes/

The topic ‘Solution for deleting generated codes (bug fix)’ is closed to new replies.