PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 7.7.4
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v7.7.4
8.7.9 8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 All 535 releases
← All changes | class-plugin-deactivate-feedback.php +2 -2 8.7.57.7.4 View file →
@@ -165,9 +165,9 @@
165 165 public function deactivate_this_plugin() {
166 166
167 167 $body = $this->get_data();
168 168 $body['status'] = 'Deactivated'; // Never translated
169 - $body['deactivated_date'] = gmdate( 'Y-m-d' );
169 + $body['deactivated_date'] = date('Y-m-d');
170 170
171 171 // Add deactivation form data
172 172 if( false !== get_option( 'wpbot_deactivation_reason_' . $this->plugin_name ) ) {
173 173 $body['deactivation_reason'] = get_option( 'wpbot_deactivation_reason_' . $this->plugin_name );
@@ -401,9 +401,9 @@
401 401 public function qcld_goodbye_form_callback() {
402 402 check_ajax_referer( 'wpbot_goodbye_form', 'security' );
403 403
404 404 if( isset( $_POST['details'] ) ) {
405 - $details = sanitize_text_field(wp_unslash($_POST['details']));
405 + $details = sanitize_text_field( $_POST['details'] );
406 406 update_option( 'wpbot_deactivation_details_' . $this->plugin_name, $details );
407 407 }
408 408
409 409 echo 'success';