HEX
Server: nginx/1.18.0
System: Linux vps-9dcdb12e 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.24
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /var/www/kserujemy.pl/wp-content/plugins/wpforms-lite/src/Migrations/Upgrade183.php
<?php

namespace WPForms\Migrations;

use WPForms\Tasks\Actions\IconChoicesFontAwesomeUpgradeTask;

/**
 * Class upgrade for Lite.
 *
 * @since 1.8.3
 *
 * @noinspection PhpUnused
 */
class Upgrade183 extends UpgradeBase {

	/**
	 * Run upgrade.
	 *
	 * We run migration as Action Scheduler task.
	 * Class Tasks does not exist at this point, so here we can only check task completion status.
	 *
	 * @since 1.8.3
	 *
	 * @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() {

		return $this->run_async( IconChoicesFontAwesomeUpgradeTask::class );
	}
}