Conversation
supportHello, please attach that to the future version of your plugin to keep it more flexible: $url_connector = (empty($_GET) ? '?' : '&'); wp_redirect( esc_url_raw( $redirect_url ) . $url_connector .'age-verified=' . wp_create_nonce( 'age-verified' ) ); in file class-age-verify.php on line 359. Without that I get two question marks in url address. Cheers! https://wordpress.org/plugins/age-verify/
I have experienced this issue as well. However, I feel that using add_query_arg() would be a better practice: wp_redirect( esc_url_raw( add_query_arg( 'age-verified', wp_create_nonce( 'age-verified' ), $redirect_url ) ) ); I have tested this and it seems to work great.
I have experienced this issue as well. However, I feel that using add_query_arg() would be a better practice: wp_redirect( esc_url_raw( add_query_arg( 'age-verified', wp_create_nonce( 'age-verified' ), $redirect_url ) ) ); I have tested this and it seems to work great.