BSF_Rollback_Version_Manager::rollback_version_popup()
Version rollback Confirmation popup.
Description
Source
File: admin/bsf-core/class-bsf-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="bsf-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 bsf-confirm-heading" data-text="<?php esc_html_e( 'Rollback #PRODUCT_NAME# Version', 'bsf-core' ); ?>"></h3> <p class="bsf-confirm-text bsf-rollback-text" data-text="<?php esc_html_e( 'Are you sure you want to rollback #PRODUCT_NAME# to version #VERSION#?', 'bsf-core' ); ?>" ></p> <div class="bsf-confirm-rollback-popup-buttons-wrapper"> <button class="button bsf-product-license button-default bsf-confirm-cancel"><?php esc_html_e( 'Cancel', 'bsf-core' ); ?></button> <button class="button button-primary bsf-confirm-ok"><?php esc_html_e( 'Continue', 'bsf-core' ); ?></button> </div> </div> </div> <?php }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |