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 / plugins-update.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
plugins-update.php
40 lines
1 <?php
2
3 /**
4 * This file is currently being called for the both FREE and PRO version:
5 * src/views/clone/ajax/scan.php:64
6 *
7 * @var \WPStaging\Backend\Modules\Jobs\Scan $scan
8 * @var stdClass $options
9 * @var boolean $isPro
10 *
11 * @see \WPStaging\Backend\Modules\Jobs\Scan::start For details on $options.
12 */
13
14 // Settings Enabled by default
15 use WPStaging\Framework\Facades\UI\Checkbox;
16
17 $settingsEnabled = true;
18 // New staging site. Mails Sending is checked by default.
19 if (!$isPro) {
20 $settingsEnabled = false;
21 }
22
23 // Only change default check status when clone options exists plugin is PRO
24 $isAutoUpdatePlugins = false;
25 if ($isPro && !empty($options->current)) {
26 $isAutoUpdatePlugins = isset($options->existingClones[$options->current]['isAutoUpdatePlugins']) ? (bool) $options->existingClones[$options->current]['isAutoUpdatePlugins'] : false;
27 } ?>
28 <div class="wpstg--advanced-settings--checkbox">
29 <label for="wpstg_auto_update_plugins"><?php esc_html_e('Auto Update Plugins', 'wp-staging'); ?></label>
30 <?php Checkbox::render('wpstg_auto_update_plugins', 'wpstg_auto_update_plugins', 'true', $isAutoUpdatePlugins, ['isDisabled' => !$settingsEnabled]); ?>
31 <span class="wpstg--tooltip">
32 <img class="wpstg--dashicons" src="<?php echo esc_url($scan->getInfoIcon()); ?>" alt="info" />
33 <span class="wpstg--tooltiptext">
34 <?php esc_html_e('Automatically updates all plugins on the staging site to the latest versions immediately after you have created the staging site. You can then test the staging site to find out if all plugins work as expected and if your site does not trigger any errors.', 'wp-staging'); ?>
35 <br /> <br />
36 <b><?php esc_html_e('You will receive an e-mail and slack notification as soon as the staging site has been updated. (If activated in WP Staging settings)', 'wp-staging');?>
37 </span>
38 </span>
39 </div>
40