PluginProbe
WP Database Backup – Unlimited Database & Files Backup by Backup for WP / 6.11
WP Database Backup – Unlimited Database & Files Backup by Backup for WP v6.11
7.13 7.12 trunk 1.1 2.1.1 5.9 6.0 6.1 6.10 6.11 6.12 6.12.1 6.2 6.3 6.4 6.5 6.5.1 6.6 6.7 6.8 6.9 7.0 7.0.1 7.1 7.10 All 34 releases
wp-database-backup / includes / admin / deactivate-feedback.php

deactivate-feedback.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.11, at includes/admin/deactivate-feedback.php

37 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $reasons = array(
3 1 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="temporary"/>' . esc_html__('It is only temporary', 'wpdbbkp') . '</label></li>',
4 2 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="stopped"/>' . esc_html__('I stopped using WP Database Backup on my site', 'wpdbbkp') . '</label></li>',
5 3 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="missing"/>' . esc_html__('I miss a feature', 'wpdbbkp') . '</label></li>
6 <li><input type="text" class="mb-box missing" name="wpdbbkp_disable_text[]" value="" placeholder="Please describe the feature"/></li>',
7 4 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="technical"/>' . esc_html__('Technical Issue', 'wpdbbkp') . '</label></li>
8 <li><textarea class="mb-box technical" name="wpdbbkp_disable_text[]" placeholder="' . esc_html__('How Can we help? Please describe your problem', 'wpdbbkp') . '"></textarea></li>',
9 5 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="another"/>' . esc_html__('I switched to another plugin', 'wpdbbkp') . '</label></li>
10 <li><input type="text" class="mb-box another" name="wpdbbkp_disable_text[]" value="" placeholder="Name of the plugin"/></li>',
11 6 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="other"/>' . esc_html__('Other reason', 'wpdbbkp') . '</label></li>
12 <li><textarea class="mb-box other" name="wpdbbkp_disable_text[]" placeholder="' . esc_html__('Please specify, if possible', 'wpdbbkp') . '"></textarea></li>',
13 );
14 shuffle($reasons);
15 ?>
16
17
18 <div id="wpdbbkp-feedback-overlay" style="display: none;">
19 <div id="wpdbbkp-feedback-content">
20 <form action="" method="post">
21 <h3><strong><?php echo esc_html__('If you have a moment, please let us know why you are deactivating:', 'wpdbbkp'); ?></strong></h3>
22 <ul>
23 <?php
24 foreach ($reasons as $reason){
25 echo $reason;
26 }
27 ?>
28 </ul>
29 <?php if ($email) : ?>
30 <input type="hidden" name="wpdbbkp_disable_from" value="<?php echo $email; ?>"/>
31 <?php endif; ?>
32 <input id="wpdbbkp-feedback-submit" class="button button-primary" type="submit" name="wpdbbkp_disable_submit" value="<?php echo esc_html__('Submit & Deactivate', 'wpdbbkp'); ?>"/>
33 <a class="button"><?php echo esc_html__('Only Deactivate', 'wpdbbkp'); ?></a>
34 <a class="wpdbbkp-feedback-not-deactivate" href="#"><?php echo esc_html__('Don\'t deactivate', 'wpdbbkp'); ?></a>
35 </form>
36 </div>
37 </div>