PluginProbe
Metricool – Social media and site statistics / 2.1.1
Metricool – Social media and site statistics v2.1.1
2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
metricool / app / Support / Helpers / Storages / RequestStorage.php

RequestStorage.php in Metricool – Social media and site statistics 2.1.1, at app/Support/Helpers/Storages/RequestStorage.php

24 lines 639 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Metricool\Support\Helpers\Storages;
6
7 use Metricool\Support\Helpers\Storage;
8
9 /**
10 * General config helper used in DI container.
11 */
12 final class RequestStorage extends Storage
13 {
14 public function __construct()
15 {
16 parent::__construct([
17 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce verification is handled at the endpoint level.
18 'global' => $_REQUEST,
19 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce verification is handled at the endpoint level.
20 'files' => $_FILES,
21 ]);
22 }
23 }
24