| @@ -1,37 +1,34 @@ | ||
| 1 | 1 | <?php |
| 2 | -/* | |
| 3 | -Plugin Name: Fluent Forms | |
| 4 | -Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin | |
| 5 | -Version: 3.6.40 | |
| 6 | -Author: WP Fluent Forms | |
| 7 | -Author URI: https://wpmanageninja.com | |
| 8 | -Plugin URI: https://wpmanageninja.com/wp-fluent-form/ | |
| 9 | -License: GPLv2 or later | |
| 10 | -Text Domain: fluentform | |
| 11 | -Domain Path: /resources/languages | |
| 12 | -*/ | |
| 2 | +defined('ABSPATH') or die; | |
| 13 | 3 | |
| 4 | +/** | |
| 5 | + * Plugin Name: Fluent Forms | |
| 6 | + * Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin | |
| 7 | + * Version: 6.2.14 | |
| 8 | + * Author: Contact Form - WPManageNinja LLC | |
| 9 | + * Author URI: https://fluentforms.com | |
| 10 | + * Plugin URI: https://wpmanageninja.com/wp-fluent-form/ | |
| 11 | + * License: GPLv2 or later | |
| 12 | + * Text Domain: fluentform | |
| 13 | + * Domain Path: /resources/languages | |
| 14 | + */ | |
| 15 | + | |
| 14 | 16 | defined('ABSPATH') or die; |
| 15 | - | |
| 16 | 17 | defined('FLUENTFORM') or define('FLUENTFORM', true); |
| 17 | 18 | define('FLUENTFORM_DIR_PATH', plugin_dir_path(__FILE__)); |
| 19 | +define('FLUENTFORM_FRAMEWORK_UPGRADE', '4.3.22'); | |
| 20 | +defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '6.2.14'); | |
| 21 | +defined('FLUENTFORM_MINIMUM_PRO_VERSION') or define('FLUENTFORM_MINIMUM_PRO_VERSION', '6.0.0'); | |
| 18 | 22 | |
| 19 | -defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '3.6.40'); | |
| 20 | - | |
| 21 | 23 | if (!defined('FLUENTFORM_HAS_NIA')) { |
| 22 | 24 | define('FLUENTFORM_HAS_NIA', true); |
| 23 | 25 | } |
| 24 | 26 | |
| 25 | -include FLUENTFORM_DIR_PATH . 'framework/Foundation/Bootstrap.php'; | |
| 27 | +require_once __DIR__ . '/boot/MbstringFallback.php'; | |
| 26 | 28 | |
| 27 | -use FluentForm\Framework\Foundation\Bootstrap; | |
| 28 | - | |
| 29 | -Bootstrap::run(__FILE__); | |
| 30 | - | |
| 31 | -// Handle Newtwork new Site Activation | |
| 32 | -add_action('wpmu_new_blog', function ($blogId) { | |
| 33 | - switch_to_blog($blogId); | |
| 34 | - include_once plugin_dir_path(__FILE__) . 'app/Modules/Activator.php'; | |
| 35 | - (new FluentForm\App\Modules\Activator)->migrate(); | |
| 36 | - restore_current_blog(); | |
| 37 | -}); | |
| 29 | +return (function($_) { | |
| 30 | + return $_(__FILE__); | |
| 31 | +})( | |
| 32 | + require __DIR__.'/boot/app.php', | |
| 33 | + require __DIR__.'/vendor/autoload.php' | |
| 34 | +); | |