Payment Form for PayPal Pro - Version 1.1.34

Version Description

  • Fixed conflict with autoptimize plugin

=

Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Payment Form for PayPal Pro
Version 1.1.34
Comparing to
See all releases

Code changes from version 1.1.33 to 1.1.34

Files changed (2) hide show
  1. README.txt +5 -2
  2. cp_ppp.php +4 -1
README.txt CHANGED
@@ -230,7 +230,10 @@ A: In all plugin versions you can turn off IP tracking to avoid saving that user
230
= 1.1.33 =
231
* Changed process to async calls with loading indicator
232
233
== Upgrade Notice ==
234
235
- = 1.1.33 =
236
- * Changed process to async calls with loading indicator
230
= 1.1.33 =
231
* Changed process to async calls with loading indicator
232
233
+ = 1.1.34 =
234
+ * Fixed conflict with autoptimize plugin
235
+
236
== Upgrade Notice ==
237
238
+ = 1.1.34 =
239
+ * Fixed conflict with autoptimize plugin
cp_ppp.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Payment Form for PayPal Pro
4
Plugin URI: https://wordpress.dwbooster.com/forms/paypal-payment-pro-form
5
Description: Payment Form for PayPal Pro to accept credit cards directly into your website. Official PayPal Partner.
6
- Version: 1.1.33
7
Author: CodePeople
8
Author URI: https://wordpress.dwbooster.com/forms/payment-form-for-paypal-pro
9
License: GPL
@@ -106,6 +106,9 @@ add_action( 'widgets_init', create_function('', 'return register_widget("CP_PPP_
106
107
function cpppp_plugin_init() {
108
load_plugin_textdomain( 'cpppp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
109
}
110
add_action('plugins_loaded', 'cpppp_plugin_init');
111
3
Plugin Name: Payment Form for PayPal Pro
4
Plugin URI: https://wordpress.dwbooster.com/forms/paypal-payment-pro-form
5
Description: Payment Form for PayPal Pro to accept credit cards directly into your website. Official PayPal Partner.
6
+ Version: 1.1.34
7
Author: CodePeople
8
Author URI: https://wordpress.dwbooster.com/forms/payment-form-for-paypal-pro
9
License: GPL
106
107
function cpppp_plugin_init() {
108
load_plugin_textdomain( 'cpppp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
109
+ $ao_options = get_option('autoptimize_js_exclude',"seal.js, js/jquery/jquery.js");
110
+ if (!strpos($ao_options,'stringify.js'))
111
+ update_option('autoptimize_js_exclude',"jQuery.stringify.js,jquery.validate.js,".$ao_options);
112
}
113
add_action('plugins_loaded', 'cpppp_plugin_init');
114