WPIntell

Source evidence

Add HSTS preload flag

Security Headers · support · 2016-07-29T09:44:00+00:00

mixedsentiment
highseverity
0.77relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 16 rows with source links

31.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

11 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Turn On Social resolved
// HSTS if (is_ssl()){ $time = esc_attr(get_option('security_headers_hsts_time')); $subdomain = esc_attr(get_option('security_headers_hsts_subdomains')); $preload = esc_attr(get_option('security_headers_hsts_preload')); if ( ctype_digit($time) ) { $subdomain_output = $subdomain > 0 ? "; includeSubDomains" : ""; $preload_output = $preload > 0 ? "; preload" : ""; header("Strict-Transport-Security: max-age=$time $subdomain_output $preload_output"); } } https://wordpress.org/plugins/security-headers/ Added to git, attributed to “Jamie”, if you let me know your last name I’ll add it to the readme.txt too.

Comments

1 shown
SimonRWaters 2016-08-03T21:29:00+00:00

Added to git, attributed to “Jamie”, if you let me know your last name I’ll add it to the readme.txt too.