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/OverrideController.php +4 -0 10.2.2 → 11.1.0 View file →
@@ -46,13 +46,15 @@
46 46 }
47 47
48 48 protected function prepareEmailsOverrideListing(array &$data): void
49 49 {
50 + // Prepare the pagination
50 51 $emailsOverridePerPage = $data['pagination']->getListLimit();
51 52 $page = $this->getVarFiltersListing('int', 'override_pagination_page', 1);
52 53
53 54 $this->installOverrideEmails();
54 55
56 + // Get the matching lists
55 57 $matchingEmailsOverride = $this->getMatchingElementsFromData(
56 58 [
57 59 'search' => $data['search'],
58 60 'ordering' => $data['ordering'],
@@ -84,8 +86,10 @@
84 86 }
85 87
86 88 public function reInstallOverrideEmails(): void
87 89 {
90 + wp_verify_nonce(acym_getVar('cmd', '_wpnonce'), 'acymnonce') || die('Invalid Token');
91 +
88 92 $overrideClass = new OverrideClass();
89 93 $overrideClass->cleanEmailsOverride();
90 94 $this->installOverrideEmails();
91 95