??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/mayshine.co.uk/wp-content/plugins/wpforms-lite/src/Migrations/Upgrade1_9_8_6.php
⬅ Kembali
<?php
namespace WPForms\Migrations;
/**
* Class upgrade for 1.9.8.6 release.
*
* @since 1.9.8.6
*/
class Upgrade1_9_8_6 extends UpgradeBase {
/**
* Run upgrade.
*
* @since 1.9.8.6
*/
public function run(): bool {
$activated_plugins = [];
$this->check_wpconsent_activation( $activated_plugins );
$this->check_sugar_calendar_activation( $activated_plugins );
$this->check_duplicator_activation( $activated_plugins );
$this->check_uncanny_automator_activation( $activated_plugins );
add_option( 'wpforms_rotation_activated_plugins', $activated_plugins );
return true;
}
/**
* Check WPConsent plugin activation time.
*
* @since 1.9.8.6
*
* @param array $activated_plugins Reference to activated plugins array.
*/
private function check_wpconsent_activation( array &$activated_plugins ): void {
$wpconsent = get_option( 'wpconsent_activated' );
$wpconsent_time = $wpconsent['wpconsent'] ?? null;
if ( empty( $wpconsent_time ) ) {
$wpconsent_time = $wpconsent['wpconsent_pro'] ?? null;
}
if ( ! empty( $wpconsent_time ) ) {
$activated_plugins['wpconsent'] = $wpconsent_time;
}
}
/**
* Check Sugar Calendar plugin activation time.
*
* @since 1.9.8.6
*
* @param array $activated_plugins Reference to activated plugins array.
*/
private function check_sugar_calendar_activation( array &$activated_plugins ): void {
$sugar_calendar_activated_time = get_option( 'sugar_calendar_activated_time' );
if ( ! empty( $sugar_calendar_activated_time ) ) {
$activated_plugins['sugar-calendar'] = (int) $sugar_calendar_activated_time;
}
}
/**
* Check Duplicator plugin activation time.
*
* @since 1.9.8.6
*
* @param array $activated_plugins Reference to activated plugins array.
*/
private function check_duplicator_activation( array &$activated_plugins ): void {
$duplicator_install_info = get_option( 'duplicator_install_info' );
$duplicator_time = $duplicator_install_info['time'] ?? null;
if ( empty( $duplicator_time ) ) {
$duplicator_pro_install_info = get_option( 'duplicator_pro_install_info' );
$duplicator_time = $duplicator_pro_install_info['time'] ?? null;
}
if ( ! empty( $duplicator_time ) ) {
$activated_plugins['duplicator'] = $duplicator_time;
}
}
/**
* Check Uncanny Automator plugin activation time.
*
* @since 1.9.8.6
*
* @param array $activated_plugins Reference to activated plugins array.
*/
private function check_uncanny_automator_activation( array &$activated_plugins ): void {
$uncanny_automator_v6_options_migrated = get_option( 'uncanny_automator_v6_options_migrated' );
if ( ! empty( $uncanny_automator_v6_options_migrated ) ) {
$activated_plugins['uncanny-automator'] = (int) $uncanny_automator_v6_options_migrated;
}
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
📁 Tasks
dir
—
2026-06-23 08:04
📄 .htaccess
htaccess
237 B
2026-06-23 08:04
🐘 Base.php
php
12 KB
2026-03-19 16:20
🐘 Migrations.php
php
992 B
2025-12-11 20:10
🐘 Upgrade159.php
php
707 B
2024-09-26 15:36
🐘 Upgrade1672.php
php
863 B
2022-06-30 15:09
🐘 Upgrade168.php
php
1.2 KB
2024-09-26 15:36
🐘 Upgrade175.php
php
2.7 KB
2024-09-26 15:36
🐘 Upgrade1751.php
php
562 B
2022-08-18 14:59
🐘 Upgrade177.php
php
1.2 KB
2022-09-29 15:18
🐘 Upgrade182.php
php
3.1 KB
2025-12-11 20:10
🐘 Upgrade183.php
php
769 B
2023-08-10 15:19
🐘 Upgrade184.php
php
909 B
2023-09-28 15:44
🐘 Upgrade186.php
php
395 B
2024-01-16 17:57
🐘 Upgrade187.php
php
1.4 KB
2024-09-26 15:36
🐘 Upgrade1_9_1.php
php
1.4 KB
2024-09-26 15:36
🐘 Upgrade1_9_2.php
php
911 B
2024-11-07 17:15
🐘 Upgrade1_9_7.php
php
333 B
2025-08-11 13:38
🐘 Upgrade1_9_8_6.php
php
2.7 KB
2025-12-11 20:10
🐘 UpgradeBase.php
php
3.4 KB
2025-04-24 14:53