|
@@ -26,8 +26,10 @@ |
|
26
|
26
|
} |
|
27
|
27
|
|
|
28
|
28
|
public function duplicate(): void |
|
29
|
29
|
{ |
|
30
|
+ wp_verify_nonce(acym_getVar('cmd', '_wpnonce'), 'acymnonce') || die('Invalid Token'); |
|
31
|
+ |
|
30
|
32
|
$ids = acym_getVar('array', 'elements_checked', []); |
|
31
|
33
|
|
|
32
|
34
|
$segmentClass = new SegmentClass(); |
|
33
|
35
|
|