PluginProbe
HTTP Headers / 1.13.1
HTTP Headers v1.13.1
1.19.5 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.13.1 1.13.2 1.13.3 1.13.4 1.14.0 1.14.1 1.14.2 1.15.0 All 60 releases
http-headers / views / includes / config.inc.php

config.inc.php in HTTP Headers 1.13.1, at views/includes/config.inc.php

54 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5 $bools = array(
6 0 => __('Off', 'http-headers'),
7 1 => __('On', 'http-headers'),
8 );
9
10 $categories = array(
11 'security' => __('Security', 'http-headers'),
12 'access-control' => __('Access control', 'http-headers'),
13 'authentication' => __('Authentication', 'http-headers'),
14 'compression' => __('Compression', 'http-headers'),
15 'caching' => __('Caching', 'http-headers'),
16 'misc' => __('Miscellaneous', 'http-headers'),
17 );
18
19 $headers = array(
20 'x-frame-options' => array('X-Frame-Options', 'hh_x_frame_options', 'security'),
21 'x-xss-protection' => array('X-XSS-Protection', 'hh_x_xxs_protection', 'security'),
22 'x-content-type-options' => array('X-Content-Type-Options', 'hh_x_content_type_options', 'security'),
23 'x-ua-compatible' => array('X-UA-Compatible', 'hh_x_ua_compatible', 'misc'),
24 'strict-transport-security' => array('Strict-Transport-Security', 'hh_strict_transport_security', 'security'),
25 'p3p' => array('P3P', 'hh_p3p', 'access-control'),
26 'public-key-pins' => array('Public-Key-Pins', 'hh_public_key_pins', 'security'),
27 'referrer-policy' => array('Referrer-Policy', 'hh_referrer_policy', 'security'),
28 'content-security-policy' => array('Content-Security-Policy', 'hh_content_security_policy', 'security'),
29 'access-control-allow-origin' => array('Access-Control-Allow-Origin', 'hh_access_control_allow_origin', 'access-control'),
30 'access-control-allow-credentials' => array('Access-Control-Allow-Credentials', 'hh_access_control_allow_credentials', 'access-control'),
31 'access-control-max-age' => array('Access-Control-Max-Age', 'hh_access_control_max_age', 'access-control'),
32 'access-control-allow-methods' => array('Access-Control-Allow-Methods', 'hh_access_control_allow_methods', 'access-control'),
33 'access-control-allow-headers' => array('Access-Control-Allow-Headers', 'hh_access_control_allow_headers', 'access-control'),
34 'access-control-expose-headers' => array('Access-Control-Expose-Headers', 'hh_access_control_expose_headers', 'access-control'),
35 'content-encoding' => array('Content-Encoding', 'hh_content_encoding', 'compression'),
36 'vary' => array('Vary', 'hh_vary', 'compression'),
37 'x-powered-by' => array('X-Powered-By', 'hh_x_powered_by', 'misc'),
38 'www-authenticate' => array('WWW-Authenticate', 'hh_www_authenticate', 'authentication'),
39 'cache-control' => array('Cache-Control', 'hh_cache_control', 'caching'),
40 'expires' => array('Expires', 'hh_expires', 'caching'),
41 'pragma' => array('Pragma', 'hh_pragma', 'caching'),
42 'age' => array('Age', 'hh_age', 'caching'),
43 'connection' => array('Connection', 'hh_connection', 'misc'),
44 'cookie-security' => array('Cookie security', 'hh_cookie_security', 'security'),
45 'expect-ct' => array('Expect-CT', 'hh_expect_ct', 'security'),
46 'timing-allow-origin' => array('Timing-Allow-Origin', 'hh_timing_allow_origin', 'access-control'),
47 'custom-headers' => array('Custom headers', 'hh_custom_headers', 'misc'),
48 'x-dns-prefetch-control' => array('X-DNS-Prefetch-Control', 'hh_x_dns_prefetch_control', 'security'),
49 'x-download-options' => array('X-Download-Options', 'hh_x_download_options', 'security'),
50 'x-permitted-cross-domain-policies' => array('X-Permitted-Cross-Domain-Policies', 'hh_x_permitted_cross_domain_policies', 'security'),
51 'report-to' => array('Report-To', 'hh_report_to', 'security'),
52 'feature-policy' => array('Feature-Policy', 'hh_feature_policy', 'security'),
53 'clear-site-data' => array('Clear-Site-Data', 'hh_clear_site_data', 'security'),
54 );