Problem with plugin URL
-
Hi
I’m seeing an issue where the plugin URL is not generated correctly. The URLs for the CAPTCHA images an other elements, contain the full path (eg. internal server path).
I think there is a bug in the file si-contact-form.php
in the function get_captcha_url_cf()
….
Here, there are quite a few comments in the code about WP_PLUGIN_URL not working. Instead, there’s some workaround code, but it isn’t working for me. Instead, I think you need the following WP function, which should return the correct path even for multisite:
$captcha_url_cf = plugins_url(‘si-contact-form/captcha’);
Let me know if you need more info on my setup etc.
Thanks
Tom
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problem with plugin URL’ is closed to new replies.