__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// phpcs:disable Generic.Commenting.DocComment.MissingShort
/** @noinspection PhpIllegalPsrClassPathInspection */
/** @noinspection AutoloadingIssuesInspection */
// phpcs:enable Generic.Commenting.DocComment.MissingShort
namespace WPForms\Pro\Migrations;
use WPForms\Migrations\Base;
use WPForms\Migrations\Migrations as MigrationsLite;
/**
* Class Migrations handles Pro plugin upgrade routines.
*
* @since 1.7.5
*/
class Migrations extends Base {
/**
* WP option name to store the migration version.
*
* @since 1.5.9
*/
const MIGRATED_OPTION_NAME = 'wpforms_versions';
/**
* Name of the core plugin used in log messages.
*
* @since 1.7.5
*/
const PLUGIN_NAME = 'WPForms Pro';
/**
* Upgrade classes.
*
* @since 1.7.5
*/
const UPGRADE_CLASSES = [
'Upgrade116',
'Upgrade133',
'Upgrade143',
'Upgrade150',
'Upgrade159',
'Upgrade165',
'Upgrade168',
'Upgrade173',
'Upgrade175',
'Upgrade176',
'Upgrade182',
'Upgrade183',
'Upgrade189',
'Upgrade190',
'Upgrade1_9_1',
'Upgrade1_9_4',
];
/**
* Class init.
*
* @since 1.7.5
*/
public function init() {
// Run Lite migrations first.
( new MigrationsLite() )->init();
$wpforms_pro = wpforms()->obj( 'pro' );
if ( ! $wpforms_pro ) {
return;
}
$wpforms_pro->objects();
// Run Pro migrations.
parent::init();
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Migrations.php | File | 1.33 KB | 0640 |
|
| Upgrade116.php | File | 769 B | 0640 |
|
| Upgrade133.php | File | 1.08 KB | 0640 |
|
| Upgrade143.php | File | 8.74 KB | 0640 |
|
| Upgrade150.php | File | 876 B | 0640 |
|
| Upgrade159.php | File | 851 B | 0640 |
|
| Upgrade165.php | File | 788 B | 0640 |
|
| Upgrade168.php | File | 932 B | 0640 |
|
| Upgrade173.php | File | 818 B | 0640 |
|
| Upgrade175.php | File | 848 B | 0640 |
|
| Upgrade176.php | File | 755 B | 0640 |
|
| Upgrade182.php | File | 807 B | 0640 |
|
| Upgrade183.php | File | 808 B | 0640 |
|
| Upgrade189.php | File | 839 B | 0640 |
|
| Upgrade190.php | File | 649 B | 0640 |
|
| Upgrade1_9_1.php | File | 4.69 KB | 0640 |
|
| Upgrade1_9_4.php | File | 774 B | 0640 |
|