Code left-overs or missing functionality?
-
What seems to be the point of the file
cf7/hcaptcha-cf7-1.php
It is not included anywhere.
Also, what’s the point of the following code in cf7/hcaptcha-cf7.php around line 20:
function enqueue_hcap_cf7_script() { global $hcap_cf7; if ( ! $hcap_cf7 ) { return; }
$hcap_cf7 is set to true in the shortcode function but that code seems to run later so effectively this conditional prevents the whole inline script that follows from ever being inserted into the page. Is it not necessary?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Code left-overs or missing functionality?’ is closed to new replies.