22/**
33 * Plugin Name: Forms everywhere by Influactive
44 * Description: A plugin to create custom forms and display them anywhere on your website.
5- * Version: 1.2.4.1
5+ * Version: 1.2.4.2
66 * Author: Influactive
77 * Author URI: https://influactive.com
88 * Text Domain: influactive-forms
@@ -53,7 +53,7 @@ function influactive_form_edit( string $hook ): void {
5353 'wp-tinymce ' ,
5454 'influactive-tabs ' ,
5555 'influactive-form-layout '
56- ), '1.2.4.1 ' , true );
56+ ), '1.2.4.2 ' , true );
5757 wp_localize_script ( 'influactive-form ' , 'influactiveFormsTranslations ' , array (
5858 'addOptionText ' => __ ( 'Add option ' , 'influactive-forms ' ),
5959 'removeOptionText ' => __ ( 'Remove option ' , 'influactive-forms ' ),
@@ -75,26 +75,26 @@ function influactive_form_edit( string $hook ): void {
7575 'Number ' => __ ( 'Number ' , 'influactive-forms ' ),
7676 'Freetext ' => __ ( 'Free text ' , 'influactive-forms ' ),
7777 ) );
78- wp_enqueue_style ( 'influactive-form ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/form/form.min.css ' , array (), '1.2.4.1 ' );
78+ wp_enqueue_style ( 'influactive-form ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/form/form.min.css ' , array (), '1.2.4.2 ' );
7979
80- wp_enqueue_script ( 'influactive-tabs ' , plugin_dir_url ( __FILE__ ) . 'dist/backEndTab.bundled.js ' , array (), '1.2.4.1 ' , true );
81- wp_enqueue_style ( 'influactive-tabs ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/tab/tab.min.css ' , array (), '1.2.4.1 ' );
80+ wp_enqueue_script ( 'influactive-tabs ' , plugin_dir_url ( __FILE__ ) . 'dist/backEndTab.bundled.js ' , array (), '1.2.4.2 ' , true );
81+ wp_enqueue_style ( 'influactive-tabs ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/tab/tab.min.css ' , array (), '1.2.4.2 ' );
8282
83- wp_enqueue_style ( 'influactive-form-layout ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/layout/layout.min.css ' , array (), '1.2.4.1 ' );
84- wp_enqueue_script ( 'influactive-form-layout ' , plugin_dir_url ( __FILE__ ) . 'dist/backEndLayout.bundled.js ' , array (), '1.2.4.1 ' , true );
83+ wp_enqueue_style ( 'influactive-form-layout ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/layout/layout.min.css ' , array (), '1.2.4.2 ' );
84+ wp_enqueue_script ( 'influactive-form-layout ' , plugin_dir_url ( __FILE__ ) . 'dist/backEndLayout.bundled.js ' , array (), '1.2.4.2 ' , true );
8585 wp_localize_script ( 'influactive-form-layout ' , 'influactiveFormsTranslations ' , array (
8686 'delete_layout ' => __ ( 'Delete layout ' , 'influactive-forms ' ),
8787 ) );
8888
89- wp_enqueue_style ( 'influactive-form-style ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/style.min.css ' , array (), '1.2.4.1 ' );
89+ wp_enqueue_style ( 'influactive-form-style ' , plugin_dir_url ( __FILE__ ) . 'back-end/post-type/style.min.css ' , array (), '1.2.4.2 ' );
9090
91- wp_enqueue_style ( 'influactive-form-preview ' , plugin_dir_url ( __FILE__ ) . 'front-end/form.min.css ' , array (), '1.2.4.1 ' );
91+ wp_enqueue_style ( 'influactive-form-preview ' , plugin_dir_url ( __FILE__ ) . 'front-end/form.min.css ' , array (), '1.2.4.2 ' );
9292
9393 $ form_id = get_post_meta ( get_the_ID (), 'influactive_form_id ' , true );
9494 if ( ! $ form_id ) {
9595 throw new RuntimeException ( "Form ID not found. Exiting... " );
9696 }
97- wp_enqueue_style ( 'influactive-form-dynamic-style ' , plugin_dir_url ( __FILE__ ) . 'front-end/dynamic-style.php?post_id= ' . $ form_id , array (), '1.2.4.1 ' );
97+ wp_enqueue_style ( 'influactive-form-dynamic-style ' , plugin_dir_url ( __FILE__ ) . 'front-end/dynamic-style.php?post_id= ' . $ form_id , array (), '1.2.4.2 ' );
9898}
9999
100100add_action ( 'admin_enqueue_scripts ' , 'influactive_form_edit ' );
@@ -125,8 +125,8 @@ function influactive_form_shortcode_enqueue(): void {
125125 $ script_handle = [];
126126 }
127127
128- wp_enqueue_script ( 'influactive-form ' , plugin_dir_url ( __FILE__ ) . 'dist/frontEnd.bundled.js ' , $ script_handle , '1.2.4.1 ' , true );
129- wp_enqueue_style ( 'influactive-form ' , plugin_dir_url ( __FILE__ ) . 'front-end/form.min.css ' , [], '1.2.4.1 ' );
128+ wp_enqueue_script ( 'influactive-form ' , plugin_dir_url ( __FILE__ ) . 'dist/frontEnd.bundled.js ' , $ script_handle , '1.2.4.2 ' , true );
129+ wp_enqueue_style ( 'influactive-form ' , plugin_dir_url ( __FILE__ ) . 'front-end/form.min.css ' , [], '1.2.4.2 ' );
130130
131131 wp_localize_script ( 'influactive-form ' , 'ajaxObject ' , [ 'ajaxurl ' => admin_url ( 'admin-ajax.php ' ) ] );
132132}
0 commit comments