File: //srv/htdocs/wp-content/plugins/host-webfonts-local/src/DB/Migrate/V533.php
<?php
/* * * * * * * * * * * * * * * * * * * * *
*
* ██████╗ ███╗ ███╗ ██████╗ ███████╗
* ██╔═══██╗████╗ ████║██╔════╝ ██╔════╝
* ██║ ██║██╔████╔██║██║ ███╗█████╗
* ██║ ██║██║╚██╔╝██║██║ ██║██╔══╝
* ╚██████╔╝██║ ╚═╝ ██║╚██████╔╝██║
* ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝
*
* @package : OMGF
* @author : Daan van den Bergh
* @copyright: © 2025 Daan van den Bergh
* @url : https://daan.dev
* * * * * * * * * * * * * * * * * * * */
namespace OMGF\DB\Migrate;
use OMGF\Admin\Settings;
use OMGF\Helper as OMGF;
/**
* @codeCoverageIgnore
*/
class V533 {
/** @var $version string The version number this migration script was introduced with. */
private $version = '5.3.3';
/**
* Buid
*
* @return void
*/
public function __construct() {
$this->init();
}
/**
* Initialize
*
* @return void
*/
private function init() {
$subsets = OMGF::get_option( Settings::OMGF_ADV_SETTING_SUBSETS );
if ( ! $subsets ) {
OMGF::update_option( Settings::OMGF_ADV_SETTING_SUBSETS, [ 'latin', 'latin-ext' ] );
}
/**
* Update stored version number.
*/
OMGF::update_option( Settings::OMGF_CURRENT_DB_VERSION, $this->version );
}
}