Skip to content
Snippets Groups Projects
Commit aa0f603f authored by ale's avatar ale
Browse files

Second attempt to fix wp2pgpmail worker.js path

parent c4bd13f7
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
$wp2pgpmail_captcha_field = get_option('wp2pgpmail_captcha_field');
$wp2pgpmail_collect_ip = get_option('wp2pgpmail_collect_ip');
- $wp2pgpmail_worker_path = plugin_dir_url( 'wp2pgpmail' ) . 'js/openpgp.worker.min.js';
+ $wp2pgpmail_worker_path = plugin_dir_url( __FILE__ ) . 'js/openpgp.worker.min.js';
+ $wp2pgpmail_worker_path = plugin_dir_url( __DIR__ ) . 'js/openpgp.worker.min.js';
$mail_champ_nom = __('Name','wp2pgpmail');
$mail_champ_email = __('E-mail Address','wp2pgpmail');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment