| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | * Description: The best contact form plugin for WordPress |
| 5 | 5 | * Plugin URI: https://wedevs.com/weforms/ |
| 6 | 6 | * Author: weDevs |
| 7 | 7 | * Author URI: https://wedevs.com/ |
| 8 | - * Version: 1.2.8 | |
| 8 | + * Version: 1.2.9 | |
| 9 | 9 | * License: GPL2 or later |
| 10 | 10 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 | 11 | * Text Domain: weforms |
| 12 | 12 | * Domain Path: /languages |
| @@ -54,9 +54,9 @@ | ||
| 54 | 54 | * Plugin version |
| 55 | 55 | * |
| 56 | 56 | * @var string |
| 57 | 57 | */ |
| 58 | - public $version = '1.2.8'; | |
| 58 | + public $version = '1.2.9'; | |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | 61 | * Form field value seperator |
| 62 | 62 | * |
| @@ -227,8 +227,10 @@ | ||
| 227 | 227 | require_once WEFORMS_INCLUDES . '/class-importer-manager.php'; |
| 228 | 228 | |
| 229 | 229 | require_once WEFORMS_INCLUDES . '/admin/class-pro-upgrades.php'; |
| 230 | 230 | require_once WEFORMS_INCLUDES . '/admin/class-promotion.php'; |
| 231 | + require_once WEFORMS_INCLUDES . '/admin/class-shortcode-button.php'; | |
| 232 | + require_once WEFORMS_INCLUDES . '/admin/class-privacy.php'; | |
| 231 | 233 | |
| 232 | 234 | } else { |
| 233 | 235 | |
| 234 | 236 | // add reCaptcha library if not found |
| @@ -259,8 +261,9 @@ | ||
| 259 | 261 | require_once WEFORMS_INCLUDES . '/class-ajax.php'; |
| 260 | 262 | require_once WEFORMS_INCLUDES . '/class-ajax-upload.php'; |
| 261 | 263 | require_once WEFORMS_INCLUDES . '/class-notification.php'; |
| 262 | 264 | require_once WEFORMS_INCLUDES . '/class-form-preview.php'; |
| 265 | + require_once WEFORMS_INCLUDES . '/class-dokan-integration.php'; | |
| 263 | 266 | require_once WEFORMS_INCLUDES . '/functions.php'; |
| 264 | 267 | } |
| 265 | 268 | |
| 266 | 269 | /** |
| @@ -336,8 +339,9 @@ | ||
| 336 | 339 | $this->container['templates'] = new WeForms_Template_Manager(); |
| 337 | 340 | $this->container['pro_upgrades'] = new WeForms_Pro_Upgrades(); |
| 338 | 341 | $this->container['importer'] = new WeForms_Importer_Manager(); |
| 339 | 342 | $this->container['promo_offer'] = new WeForms_Admin_Promotion(); |
| 343 | + $this->container['privacy'] = new WeForms_Privacy(); | |
| 340 | 344 | } |
| 341 | 345 | |
| 342 | 346 | if ( $this->is_request( 'frontend' ) || $this->is_request( 'ajax' ) ) { |
| 343 | 347 | $this->container['frontend'] = new WeForms_Frontend_Form(); |
| @@ -342,16 +346,17 @@ | ||
| 342 | 346 | if ( $this->is_request( 'frontend' ) || $this->is_request( 'ajax' ) ) { |
| 343 | 347 | $this->container['frontend'] = new WeForms_Frontend_Form(); |
| 344 | 348 | } |
| 345 | 349 | |
| 346 | - $this->container['insights'] = new WeDevs_Insights( 'weforms', 'weForms', __FILE__ ); | |
| 347 | - $this->container['emailer'] = new WeForms_Emailer(); | |
| 348 | - $this->container['form'] = new WeForms_Form_Manager(); | |
| 349 | - $this->container['fields'] = new WeForms_Field_Manager(); | |
| 350 | - $this->container['integrations'] = new WeForms_Integration_Manager(); | |
| 351 | - $this->container['preview'] = new WeForms_Form_Preview(); | |
| 352 | - $this->container['scripts'] = new WeForms_Scripts_Styles(); | |
| 353 | - $this->container['block'] = new weForms_FormBlock(); | |
| 350 | + $this->container['insights'] = new WeDevs_Insights( 'weforms', 'weForms', __FILE__ ); | |
| 351 | + $this->container['emailer'] = new WeForms_Emailer(); | |
| 352 | + $this->container['form'] = new WeForms_Form_Manager(); | |
| 353 | + $this->container['fields'] = new WeForms_Field_Manager(); | |
| 354 | + $this->container['integrations'] = new WeForms_Integration_Manager(); | |
| 355 | + $this->container['preview'] = new WeForms_Form_Preview(); | |
| 356 | + $this->container['scripts'] = new WeForms_Scripts_Styles(); | |
| 357 | + $this->container['block'] = new weForms_FormBlock(); | |
| 358 | + $this->container['dokan_integration'] = new weForms_Dokan_Integration(); | |
| 354 | 359 | // instantiate the integrations |
| 355 | 360 | $this->integrations->get_integrations(); |
| 356 | 361 | |
| 357 | 362 | if ( $this->is_request( 'ajax' ) ) { |
| @@ -491,5 +496,5 @@ | ||
| 491 | 496 | return WeForms::init(); |
| 492 | 497 | } |
| 493 | 498 | |
| 494 | 499 | // kick-off |
| 495 | -weforms(); | |
| 500 | +weforms(); | |