Hacked By AnonymousFox

Current Path : /proc/self/root/home/wxcglxzi/www/wp-content/plugins/wordpress-seo/src/config/
Upload File :
Current File : //proc/self/root/home/wxcglxzi/www/wp-content/plugins/wordpress-seo/src/config/upgrade.php

<?php
/**
 * Handles upgrade routines.
 *
 * @package Yoast\YoastSEO\Config
 */

namespace Yoast\YoastSEO\Config;

use Yoast\YoastSEO\WordPress\Integration;

/**
 * Triggers migrations and other upgrades.
 */
class Upgrade implements Integration {
	/**
	 * The database migration to use.
	 *
	 * @var Database_Migration $database_migration
	 */
	protected $database_migration;

	/**
	 * Upgrade constructor.
	 *
	 * @param Database_Migration $database_migration Database Migration to use.
	 */
	public function __construct( Database_Migration $database_migration ) {
		$this->database_migration = $database_migration;
	}

	/**
	 * Initializes the integration.
	 *
	 * This is the place to register hooks and filters.
	 *
	 * @return void
	 */
	public function register_hooks() {
		add_action( 'wpseo_run_upgrade', array( $this, 'do_upgrade' ) );
	}

	/**
	 * Handles upgrade trigger.
	 *
	 * @param string $version Version that we are upgrading from.
	 *
	 * @return void
	 */
	public function do_upgrade( $version ) {
		$this->database_migration->run_migrations();
	}
}

Hacked By AnonymousFox1.0, Coded By AnonymousFox
Warning: unlink(/tmp/138.201.207.117:802): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/94.217.11.142:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1