PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backup, Restore, Migration & Clone / trunk
WP STAGING – WordPress Backup, Restore, Migration & Clone vtrunk
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 / clone / ajax / login-data.php
wp-staging / views / clone / ajax Last commit date
cron-setting.php 4 months ago custom-directory.php 1 month ago directory-navigation.php 1 week ago exclude-settings.php 4 months ago external-database.php 2 months ago login-data.php 3 months ago mail-setting.php 4 months ago plugins-update.php 1 year ago process-lock.php 1 year ago scan.php 1 week ago start.php 1 year ago symlink-uploads.php 1 year ago update.php 1 year ago
login-data.php
53 lines
1 <?php
2
3 /**
4 * This file is currently being called for both FREE and PRO version:
5 *
6 * @var \WPStaging\Backend\Modules\Jobs\Scan $scan
7 * @var bool $isPro
8 *
9 * @see \WPStaging\Backend\Modules\Jobs\Scan::start For details on $options.
10 */
11
12 use WPStaging\Framework\Facades\UI\Checkbox;
13
14 $isDisabled = false;
15 if (!$isPro) {
16 $isDisabled = true;
17 }
18
19 ?>
20
21 <?php if (!$isPro) { // Show this only on FREE version ?>
22 <p class="wpstg-pro-features-notice wpstg-inline-flex wpstg-items-center wpstg-gap-3 wpstg-rounded-md wpstg-px-4 wpstg-py-2 wpstg-my-2 wpstg-text-sm wpstg-text-white wpstg-bg-blue-600 dark:wpstg-bg-blue-800 dark:wpstg-border dark:wpstg-border-solid dark:wpstg-border-blue-600"><?php esc_html_e('Options below are pro features!', 'wp-staging'); ?>
23 <a href="https://wp-staging.com/?utm_source=wp-admin&utm_medium=wp-admin&utm_campaign=new-admin-user&utm_term=new-admin-user" target="_blank" class="wpstg-inline-block wpstg-m-2 wpstg-px-3 wpstg-py-1 wpstg-text-sm wpstg-text-white wpstg-bg-red-500 wpstg-rounded wpstg-border wpstg-border-solid wpstg-border-red-400 wpstg-no-underline hover:wpstg-bg-red-700 hover:wpstg-text-white"><?php esc_html_e("Try out WP Staging Pro", "wp-staging"); ?></a>
24 </p>
25 <?php } ?>
26
27 <div class="wpstg--advanced-settings--checkbox">
28 <label for="wpstg-new-admin-user"><?php esc_html_e('New Admin Account', 'wp-staging'); ?></label>
29 <?php Checkbox::render('wpstg-new-admin-user', 'wpstg-new-admin-user', '', $checked = false, ['classes' => 'wpstg-toggle-advance-settings-section', 'isDisabled' => !$isPro], ['id' => 'wpstg-new-admin-user-section']); ?>
30 <span class="wpstg--tooltip">
31 <img class="wpstg--dashicons" src="<?php echo esc_attr($scan->getInfoIcon()); ?>" alt="info" />
32 <span class="wpstg--tooltiptext">
33 <?php echo esc_html__('Create a new admin user account for this staging site!', 'wp-staging'); ?>
34 <div class="wpstg--red wpstg-mt-10px">
35 <?php echo esc_html__('If the account already exists, the password will be updated.', 'wp-staging'); ?>
36 </div>
37 </span>
38 </span>
39 </div>
40 <div id="wpstg-new-admin-user-section" <?php echo $isPro ? 'style="display: none;"' : '' ?>>
41 <div class="wpstg-form-group wpstg-text-field">
42 <label for="wpstg-new-admin-email"><?php esc_html_e('Email: ', 'wp-staging'); ?> </label>
43 <input type="email" class="wpstg-textbox" name="wpstg-new-admin-email" id="wpstg-new-admin-email" autocapitalize="off" <?php echo $isDisabled ? 'disabled' : '' ?> />
44 </div>
45 <form>
46 <div class="wpstg-form-group wpstg-text-field">
47 <label for="wpstg-new-admin-password"><?php esc_html_e('Password: ', 'wp-staging'); ?></label>
48 <input type="password" class="wpstg-textbox" name="wpstg-new-admin-password" id="wpstg-new-admin-password" autocapitalize="off" <?php echo $isDisabled ? 'disabled' : '' ?> autocomplete="off" />
49 </div>
50 </form>
51 <hr />
52 </div>
53