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

Try to fix the openpgp.worker.min.js path

See issue #61 for details.
parent a3b7b080
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,9 @@
"wpackagist-plugin/simply-exclude": {
"Small workaround to fix simplyexclude plugin broken with wordpress 4": "patches/plugins/0117-simplyexclude.patch"
},
"wpackagist-plugin/wp2pgpmail": {
"Fix path of openpgp.worker.min.js": "patches/plugins/wp2pgpmail-openpgpjs-path.patch"
},
"wpackagist-theme/azul": {
"Teme footer": "patches/themes/0056-Patch-theme-azul.patch"
},
......
--- app/wp-content/plugins/wp2pgpmail/classes/formulaire.inc.php.orig 2022-05-02 16:38:29.083188269 +0100
+++ app/wp-content/plugins/wp2pgpmail/classes/formulaire.inc.php 2022-05-02 16:43:51.223915579 +0100
@@ -10,7 +10,7 @@
$wp2pgpmail_pgpkey = get_option('wp2pgpmail_pgpkey');
$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';
$mail_champ_nom = __('Name','wp2pgpmail');
$mail_champ_email = __('E-mail Address','wp2pgpmail');
@@ -190,4 +190,4 @@
EOF;
return $this->Output;
}
-}
\ No newline at end of file
+}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment