SILENT KILLERPanel

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 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins//wpforms-lite//src/Migrations

NameTypeSizeLast ModifiedActions
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.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins//wpforms-lite//src/Migrations/Upgrade177.php

<?php

namespace WPForms\Migrations;

/**
 * Class v1.7.7 upgrade.
 *
 * @since 1.7.7
 */
class Upgrade177 extends UpgradeBase {

	/**
	 * Run upgrade.
	 *
	 * @since 1.7.7
	 *
	 * @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() {

		$settings          = (array) get_option( 'wpforms_settings', [] );
		$new_inputmask_key = 'validation-inputmask-incomplete';
		$old_inputmask_key = 'validation-input-mask-incomplete';
		$is_updated        = false;

		if ( isset( $settings[ $new_inputmask_key ] ) && in_array( $settings[ $new_inputmask_key ], [ 'Please fill out all blanks.', esc_html__( 'Please fill out all blanks.', 'wpforms-lite' ) ], true ) ) {
			unset( $settings[ $new_inputmask_key ] );

			$is_updated = true;
		}

		if ( empty( $settings[ $new_inputmask_key ] ) && ! empty( $settings[ $old_inputmask_key ] ) ) {
			$settings[ $new_inputmask_key ] = $settings[ $old_inputmask_key ];

			$is_updated = true;
		}

		if ( $is_updated ) {
			update_option( 'wpforms_settings', $settings );
		}

		return true;
	}
}

SILENT KILLER Tool