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 / setup / external-database.php
wp-staging / views / staging / setup Last commit date
custom-directory-desc.php 1 year ago custom-directory.php 1 year ago external-database.php 1 year ago login-data.php 1 year ago
external-database.php
27 lines
1 <?php
2
3 use WPStaging\Staging\Service\AbstractStagingSetup;
4
5 /**
6 * This file is currently used in both FREE and PRO.
7 * @var AbstractStagingSetup $stagingSetup
8 */
9
10 $stagingSetup->renderAdvanceSettings(
11 'wpstg-ext-db',
12 esc_html__('Change Database', 'wp-staging'),
13 wp_kses_post(__('You can clone the staging site into a separate database. The Database must be created manually in advance before starting the cloning proccess.<br/><br/><strong>Note:</strong> If there are already tables with the same database prefix and name in this database, the cloning process will be aborted without any further asking!', 'wp-staging')),
14 false,
15 'wpstg-toggle-advance-settings-section',
16 'wpstg-external-db-section'
17 );
18 ?>
19
20 <div id="wpstg-external-db-section" <?php echo $stagingSetup->getIsOpenDisabledSettingsSectionByDefault() ? '' : 'style="display: none;"' ?>>
21 <?php $stagingSetup->renderExternalDatabaseSettings() ?>
22 <div class="wpstg-form-group wpstg-text-field wpstg-mt-10px">
23 <a href="#" id="wpstg-db-connect"><?php esc_html_e("Test Database Connection", "wp-staging"); ?></a>
24 </div>
25 <hr />
26 </div>
27