Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > wpforms-lite > > src > Migrations >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Tasks | Directory | - | - | |
Base.php | File | 12156 bytes | September 26 2024 15:36:36. | |
Migrations.php | File | 948 bytes | July 31 2025 14:13:36. | |
Upgrade159.php | File | 707 bytes | September 26 2024 15:36:36. | |
Upgrade1672.php | File | 863 bytes | June 30 2022 15:09:42. | |
Upgrade168.php | File | 1268 bytes | September 26 2024 15:36:36. | |
Upgrade175.php | File | 2737 bytes | September 26 2024 15:36:36. | |
Upgrade1751.php | File | 562 bytes | August 18 2022 14:59:52. | |
Upgrade177.php | File | 1240 bytes | September 29 2022 15:18:52. | |
Upgrade182.php | File | 3109 bytes | June 07 2023 17:54:22. | |
Upgrade183.php | File | 769 bytes | August 10 2023 15:19:36. | |
Upgrade184.php | File | 909 bytes | September 28 2023 15:44:58. | |
Upgrade186.php | File | 395 bytes | January 16 2024 17:57:58. | |
Upgrade187.php | File | 1387 bytes | September 26 2024 15:36:36. | |
Upgrade1_9_1.php | File | 1406 bytes | September 26 2024 15:36:36. | |
Upgrade1_9_2.php | File | 911 bytes | November 07 2024 17:15:50. | |
Upgrade1_9_7.php | File | 317 bytes | July 31 2025 14:13:36. | |
UpgradeBase.php | File | 3512 bytes | April 24 2025 14:53:30. |
<?php namespace WPForms\Migrations; /** * Class v1.6.8 upgrade. * * @since 1.7.5 * * @noinspection PhpUnused */ class Upgrade168 extends UpgradeBase { /** * Run upgrade. * * @since 1.7.5 * * @return bool|null Upgrade result: * true - the upgrade completed successfully, * false - in the case of failure, * null - upgrade started but not yet finished (background task). */ public function run() { $current_opened_date = get_option( 'wpforms_builder_opened_date', null ); // Do not run migration twice as 0 is a default value for all old users. if ( $current_opened_date === '0' ) { return true; } // We don't want users to report to us if they already previously used the builder by creating a form. $form_handler = wpforms()->obj( 'form' ); if ( ! $form_handler ) { return false; } $forms = $form_handler->get( '', [ 'posts_per_page' => 1, 'nopaging' => false, 'fields' => 'ids', 'update_post_meta_cache' => false, ] ); // At least 1 form exists - set the default value. if ( ! empty( $forms ) ) { add_option( 'wpforms_builder_opened_date', 0, '', 'no' ); } return true; } }
SILENT KILLER Tool