Astra_Rollback_Version_Manager::rollback_version_popup()

Version rollback Confirmation popup.


Description


Source

File: admin/astra-rollback/class-astra-rollback-version-manager.php

	public function rollback_version_popup() {
		// This is set to fix the duplicate markup on page load.
		if ( 1 !== self::$reload_page_cache ) {
			return;

		}

		self::$reload_page_cache = 0;

		?>
		<div class="ast-confirm-rollback-popup" style="display:none;">
			<div class="bsf-core-rollback-overlay"></div>
			<div class="bsf-confirm-rollback-popup-content">
				<h3 class="bsf-rollback-heading"><?php /* translators: %s: whitelable name */ echo esc_html( sprintf( __( 'Rollback %s Version', 'astra-addon' ), $this->theme_name ) ); ?></h3>
				<p class="ast-confirm-text" data-text="<?php /* translators: %s: whitelable name */ echo esc_html( sprintf( __( 'Are you sure you want to rollback %s to version #VERSION#?', 'astra-addon' ), $this->theme_name ) ); ?>" ></p>
				<div class="bsf-confirm-rollback-popup-buttons-wrapper">
					<button class="button bsf-product-license button-default ast-confirm-cancel"><?php esc_html_e( 'Cancel', 'astra-addon' ); ?></button>
					<button class="button button-primary ast-confirm-ok"><?php esc_html_e( 'Continue', 'astra-addon' ); ?></button>
				</div>
			</div>
		</div>
		<?php
	}

Changelog

Changelog
Version Description
3.6.1 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.