Case bug in back-end.php
-
Line 201 returns a lowercase code:
$code = isset( $_GET[‘code’] ) ? sanitize_key( $_GET[‘code’] ) : false;
The next line compares to an uppercase variable:
isset( $baweic_options[‘codes’][ $code ]
By the way: wp_verify_nonce in the same line does not work either.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Case bug in back-end.php’ is closed to new replies.