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; use WPForms\Admin\Builder\TemplatesCache; use WPForms\Tasks\Actions\StripeLinkSubscriptionsTask; /** * Class upgrade for 1.8.7 release. * * @since 1.8.7 * * @noinspection PhpUnused */ class Upgrade187 extends UpgradeBase { /** * Run upgrade. * * @since 1.8.7 * * @return bool|null */ public function run() { $sync_result = $this->update_templates_cache() && $this->maybe_create_logs_table(); $async_result = $this->run_async( StripeLinkSubscriptionsTask::class ); return $async_result === null ? null : $sync_result && $async_result; } /** * Update templates' cache. * * @since 1.8.7 * * @return bool */ private function update_templates_cache(): bool { $templates_cache = new TemplatesCache(); $templates_cache->init(); $templates_cache->update(); return true; } /** * Maybe create logs' table. * Previously, logs' table was created dynamically on the first access to the Tools->Logs admin page. * As from 1.8.7, we create it only once during the activation of the plugin. * So, the table may not exist, and we must maybe create it during migration to 1.8.7. * * @since 1.8.7 * * @return bool */ private function maybe_create_logs_table(): bool { $log = wpforms()->obj( 'log' ); if ( ! $log ) { return false; } $log->create_table(); return true; } }
SILENT KILLER Tool