src/Modules/Rollback.php
public function start_rollback() {
		if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], $this->product->get_key() . '_rollback' ) ) {
			wp_nonce_ays( '' );
		}

		if ( $this->product->is_plugin() ) {
			$this->start_rollback_plugin();

			return;
		}
		if ( $this->product->is_theme() ) {
			$this->start_rollback_theme();

			return;
		}
	}
public function start_rollback() {
		if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], $this->product->get_key() . '_rollback' ) ) {
			wp_nonce_ays( '' );
		}

		if ( $this->product->is_plugin() ) {
			$this->start_rollback_plugin();

			return;
		}
		if ( $this->product->is_theme() ) {
			$this->start_rollback_theme();

			return;
		}
	}
public function start_rollback ( ) { if ( ! isset ( $ _GET [ '_wpnonce' ] ) || ! wp_verify_nonce ( $ _GET [ '_wpnonce' ] , $ this -> product -> get_key ( ) . '_rollback' ) ) { wp_nonce_ays ( '' ) ; } if ( $ this -> product -> is_plugin ( ) ) { $ this -> start_rollback_plugin ( ) ; return ; } if ( $ this -> product -> is_theme ( ) ) { $ this -> start_rollback_theme ( ) ; return ; } }
Start the rollback operation.
Start the rollback operation .