PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backups, Restore, Migration & Clone / 4.7.0
WP STAGING – WordPress Backups, Restore, Migration & Clone v4.7.0
4.11.2 4.11.1 4.11.0 4.10.0 4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / views / staging / reset-setup.php
wp-staging / views / staging Last commit date
_partials 5 months ago setup 1 year ago staging-site 1 year ago wordpress-com 5 months ago confirm-delete.php 5 months ago free-version.php 1 year ago index.php 6 months ago listing.php 6 months ago reset-setup.php 6 months ago setup.php 6 months ago staging-site-list-item.php 6 months ago
reset-setup.php
44 lines
1 <?php
2
3 use WPStaging\Staging\Dto\StagingSiteDto;
4 use WPStaging\Staging\Service\DirectoryScanner;
5 use WPStaging\Staging\Service\AbstractStagingSetup;
6 use WPStaging\Staging\Service\TableScanner;
7
8 /**
9 * @var AbstractStagingSetup $stagingSetup
10 * @var StagingSiteDto $stagingSiteDto
11 * @var DirectoryScanner $directoryScanner
12 * @var TableScanner $tableScanner
13 */
14 ?>
15
16 <h1 class="wpstg-u-m-0 wpstg-mt-10px wpstg--swal2-title"><?php esc_html_e('Reset Staging Site', 'wp-staging'); ?></h1>
17 <p style="text-align: justify;"><?php esc_html_e('Do you really want to reset this staging site with the current state of the production site?', 'wp-staging'); ?></p>
18 <p style="font-size: 18px;" class="wpstg--red-warning"><?php esc_html_e('This will delete your modifications!', 'wp-staging'); ?></p>
19 <p class="wpstg-tables-selection-note" style="text-align: justify;">
20 <b class="wpstg--red"><?php esc_html_e("Note: ", "wp-staging") ?></b>
21 <?php esc_html_e("The original selection for tables and files have been preselected. You can adjust and verify them before starting the reset.", "wp-staging") ?>
22 </p>
23 <div class="wpstg-tabs-wrapper" style="text-align: left;">
24 <a href="#" class="wpstg-tab-header active" data-id="#wpstg-setup-tables" data-collapsed="true">
25 <span class="wpstg-tab-triangle"></span>
26 <?php esc_html_e("Database Tables", "wp-staging") ?>
27 <span id="wpstg-tables-count" class="wpstg-selection-preview"></span>
28 </a>
29
30 <fieldset class="wpstg-tab-section" id="wpstg-setup-tables">
31 <?php $tableScanner->renderTablesSelection() ?>
32 </fieldset>
33
34 <a href="#" class="wpstg-tab-header" data-id="#wpstg-setup-files" data-collapsed="true">
35 <span class="wpstg-tab-triangle"></span>
36 <?php esc_html_e("Files", "wp-staging") ?>
37 <span id="wpstg-files-count" class="wpstg-selection-preview"></span>
38 </a>
39
40 <fieldset class="wpstg-tab-section" id="wpstg-setup-files">
41 <?php $directoryScanner->renderFilesSelection() ?>
42 </fieldset>
43 </div>
44