| @@ -2,15 +2,15 @@ | ||
| 2 | 2 | $reasons = array( |
| 3 | 3 | 1 => '<li><label><input type="radio" name="wpdbbkp_disable_reason" value="temporary"/>' . esc_html__('It is only temporary', 'wpdbbkp') . '</label></li>', |
| 4 | 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 | 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="'. esc_attr__('Please describe the feature','wpdbbkp').'"/></li>', | |
| 6 | + <li><input type="text" class="mb-box missing" name="wpdbbkp_disable_text[]" value="" placeholder="Please describe the feature"/></li>', | |
| 7 | 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_attr__('How Can we help? Please describe your problem', 'wpdbbkp').'"></textarea></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 | 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="'. esc_attr__('Name of the plugin','wpdbbkp').'"/></li>', | |
| 10 | + <li><input type="text" class="mb-box another" name="wpdbbkp_disable_text[]" value="" placeholder="Name of the plugin"/></li>', | |
| 11 | 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_attr__('Please specify, if possible', 'wpdbbkp').'"></textarea></li>', | |
| 12 | + <li><textarea class="mb-box other" name="wpdbbkp_disable_text[]" placeholder="' . esc_html__('Please specify, if possible', 'wpdbbkp') . '"></textarea></li>', | |
| 13 | 13 | ); |
| 14 | 14 | shuffle($reasons); |
| 15 | 15 | ?> |
| 16 | 16 | |
| @@ -21,14 +21,14 @@ | ||
| 21 | 21 | <h3><strong><?php echo esc_html__('If you have a moment, please let us know why you are deactivating:', 'wpdbbkp'); ?></strong></h3> |
| 22 | 22 | <ul> |
| 23 | 23 | <?php |
| 24 | 24 | foreach ($reasons as $reason){ |
| 25 | - echo wp_kses_post($reason); | |
| 25 | + echo $reason; | |
| 26 | 26 | } |
| 27 | 27 | ?> |
| 28 | 28 | </ul> |
| 29 | 29 | <?php if ($email) : ?> |
| 30 | - <input type="hidden" name="wpdbbkp_disable_from" value="<?php echo esc_attr($email); ?>"/> | |
| 30 | + <input type="hidden" name="wpdbbkp_disable_from" value="<?php echo $email; ?>"/> | |
| 31 | 31 | <?php endif; ?> |
| 32 | 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 | 33 | <a class="button"><?php echo esc_html__('Only Deactivate', 'wpdbbkp'); ?></a> |
| 34 | 34 | <a class="wpdbbkp-feedback-not-deactivate" href="#"><?php echo esc_html__('Don\'t deactivate', 'wpdbbkp'); ?></a> |