PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backup, Restore, Migration & Clone / 4.9.2
WP STAGING – WordPress Backup, Restore, Migration & Clone v4.9.2
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 / login-data.php
wp-staging / views / staging / setup Last commit date
custom-directory-desc.php 1 year ago custom-directory.php 2 weeks ago external-database.php 2 weeks ago login-data.php 2 weeks ago
login-data.php
31 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 ob_start();
11 ?>
12 <div id="wpstg-new-admin-user-section" class="wpstg-advanced-settings-expanded-section" <?php echo $stagingSetup->getIsOpenDisabledSettingsSectionByDefault() ? '' : 'style="display: none;"' ?>>
13 <div class="wpstg-advanced-settings-expanded-fields wpstg-py-1">
14 <?php $stagingSetup->renderNewAdminSettings() ?>
15 </div>
16 </div>
17 <?php
18 $content = ob_get_clean();
19
20 $stagingSetup->renderAdvanceSettings(
21 'wpstg-new-admin-user',
22 esc_html__('New Admin Account', 'wp-staging'),
23 esc_html__('Add a new admin user account for this staging site!', 'wp-staging') . '<br/><br/><span class="wpstg--red wpstg-mt-10px">' . esc_html__('If the account already exists, the password will be updated.', 'wp-staging') . '</span>',
24 false,
25 'wpstg-toggle-advance-settings-section',
26 'wpstg-new-admin-user-section',
27 esc_html__('Add a separate admin user on the staging site.', 'wp-staging'),
28 $content,
29 ''
30 );
31