pascalroget
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi,
That seems to work. Out of curiosity, how does that work when the protocol switches between http and https? Do I need to add both URL schemes?
Relevant log entries:
2017-05-15T01:57:29+00:00 - MERGED: …. - sv-wc-payment-gateway-payment-form - https://staging.xxxx.com/wp-content/plugins/woocommerce-gateway-authorize-net-aim/lib/skyverge/woocommerce/payment-gateway/assets/js/frontend/sv-wc-payment-gateway-payment-form.min.js - wc-authorize-net-aim - https://staging.xxxx.com/wp-content/plugins/woocommerce-gateway-authorize-net-aim/assets/js/frontend/wc-authorize-net-aim.min.js …….. 2017-05-15T01:57:37+00:00 - COMPRESSING JS WITH CLOSUREUnder “Ignore these files” I have:
/wp-includes/js/jquery/jquery.js /wp-content/plugins/woocommerce-gateway-authorize-net-aim/lib/skyverge/woocommerce/payment-gateway/assets/js/frontend/sv-wc-payment-gateway-payment-form.min.js /wp-content/plugins/woocommerce-gateway-authorize-net-aim/assets/js/frontend/wc-authorize-net-aim.min.jsForum: Plugins
In reply to: [Merge + Minify + Refresh] Ignore admin-ajax.php?script=XXX¶meter=YYFor now, I’ve added the handle of my script to the conditions on line 396 like this:
if( $this->host_match($wp_scripts->registered[$handle]->src) && !in_array($wp_scripts->registered[$handle]->src, $this->ignore) && !isset($wp_scripts->registered[$handle]->extra["conditional"]) && $handle != 'wc-livechat-script' ) { //is a local scriptbut I think you should update MMR so that it ignores scripts if the file extension is PHP
- This reply was modified 9 years, 1 month ago by pascalroget.
- This reply was modified 9 years, 1 month ago by pascalroget.
- This reply was modified 9 years, 1 month ago by pascalroget.
Viewing 3 replies - 1 through 3 (of 3 total)