PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Controllers/Campaigns/Tests.php +4 -0 10.11.1 → 11.1.0 View file →
@@ -306,8 +306,10 @@
306 306 }
307 307
308 308 public function checkSPAM(): void
309 309 {
310 + wp_verify_nonce(acym_getVar('cmd', '_wpnonce'), 'acymnonce') || die('Invalid Token');
311 +
310 312 $message = '';
311 313 $data = [];
312 314 $success = false;
313 315
@@ -328,8 +330,9 @@
328 330 $level = strtolower($this->config->get('level', 'starter'));
329 331 $spamtestSystem = UpdatemeHelper::call('public/getSpamSystem?level='.$level.'&urlSite='.$urlSite);
330 332 $warnings = ob_get_clean();
331 333
334 + // Could not load the information
332 335 if (empty($spamtestSystem) || !empty($warnings)) {
333 336 $message = acym_translation('ACYM_ERROR_LOAD_FROM_ACYBA').(!empty($warnings) && acym_isDebug() ? $warnings : '');
334 337 } else {
335 338 if (!empty($spamtestSystem['messages']) || !empty($spamtestSystem['error'])) {
@@ -342,8 +345,9 @@
342 345 } else {
343 346 $mailerHelper = new MailerHelper();
344 347 $mailerHelper->report = false;
345 348
349 + //send a message to [email protected]
346 350 $receiver = new \stdClass();
347 351 $receiver->id = 0;
348 352 $receiver->email = $spamtestSystem['email'];
349 353 $receiver->name = $spamtestSystem['name'];