Error submitting password-protected download shortcode form
-
For password protected downloads embedded via shortcode, the download button inside the form is an A tag and is causing a page jump since the href is #, while also not triggering the form to submit.
Line 75 of
sdm-utility-functions.php
should actually be:$data .= '<button type="submit" name="sdm_dl_pass_submit" class="pass_sumbit sdm_pass_protected_download sdm_download_with_condition ' . $class . '">' . $button_text_string . '</button>';
This has fixed the issue for me, just wanted to let you (and anyone else having an issue) know.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error submitting password-protected download shortcode form’ is closed to new replies.