| @@ -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 ); |