@@ -135,18 +135,18 @@ public function enqueue_scripts() {
135135 return ;
136136 }
137137
138- wp_enqueue_script ( 'blockUI ' , PFF_PAYSTACK_PLUGIN_URL . '/assets/js/jquery.blockUI.min.js ' , array ( 'jquery ' , 'jquery-ui-core ' ), PFF_PAYSTACK_VERSION , true , true );
138+ wp_enqueue_script ( 'blockUI ' , PFF_PAYSTACK_PLUGIN_URL . '/assets/js/jquery.blockUI.min.js ' , array ( 'jquery ' , 'jquery-ui-core ' ), PFF_PAYSTACK_VERSION , true );
139139
140- wp_register_script ( 'Paystack ' , 'https://js.paystack.co/v1/inline.js ' , false , true );
140+ wp_register_script ( 'Paystack ' , 'https://js.paystack.co/v1/inline.js ' , false , PFF_PAYSTACK_VERSION , true );
141141 wp_enqueue_script ( 'Paystack ' );
142142
143- wp_enqueue_script ( PFF_PLUGIN_NAME . '-public ' , PFF_PAYSTACK_PLUGIN_URL . '/assets/js/paystack-public.js ' , array ( 'jquery ' ), PFF_PAYSTACK_VERSION , true , true );
143+ wp_enqueue_script ( PFF_PLUGIN_NAME . '-public ' , PFF_PAYSTACK_PLUGIN_URL . '/assets/js/paystack-public.js ' , array ( 'jquery ' ), PFF_PAYSTACK_VERSION , true );
144144
145145 $ helpers = new Helpers ();
146146 $ js_args = [
147147 'key ' => $ helpers ->get_public_key (),
148148 'fee ' => $ helpers ->get_fees (),
149149 ];
150- wp_localize_script ( PFF_PLUGIN_NAME . '-public ' , 'pffSettings ' , $ js_args , PFF_PAYSTACK_VERSION , true , true );
150+ wp_localize_script ( PFF_PLUGIN_NAME . '-public ' , 'pffSettings ' , $ js_args , PFF_PAYSTACK_VERSION , true );
151151 }
152152}
0 commit comments