PluginProbe
HTTP Headers / 1.2.0
HTTP Headers v1.2.0
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
← All changes | uninstall.php +41 -3 trunk1.2.0 View file →
@@ -3,10 +3,48 @@
3 3 if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
4 4 exit();
5 5 }
6 6
7 -$http_headers_options = include dirname(__FILE__) . '/views/includes/options.inc.php';
7 +$options = array(
8 + 'hh_x_frame_options',
9 + 'hh_x_frame_options_value',
10 + 'hh_x_frame_options_domain',
11 + 'hh_x_xxs_protection',
12 + 'hh_x_xxs_protection_value',
13 + 'hh_x_content_type_options',
14 + 'hh_x_content_type_options_value',
15 + 'hh_strict_transport_security',
16 + 'hh_strict_transport_security_value', //obsolete
17 + 'hh_strict_transport_security_max_age',
18 + 'hh_strict_transport_security_sub_domains',
19 + 'hh_strict_transport_security_preload',
20 + 'hh_public_key_pins',
21 + 'hh_public_key_pins_sha256_1',
22 + 'hh_public_key_pins_sha256_2',
23 + 'hh_public_key_pins_max_age',
24 + 'hh_public_key_pins_sub_domains',
25 + 'hh_public_key_pins_report_uri',
26 + 'hh_x_ua_compatible',
27 + 'hh_x_ua_compatible_value',
28 + 'hh_p3p',
29 + 'hh_p3p_value',
30 + 'hh_referrer_policy',
31 + 'hh_referrer_policy_value',
32 + 'hh_access_control_allow_origin',
33 + 'hh_access_control_allow_origin_value',
34 + 'hh_access_control_allow_origin_url',
35 + 'hh_access_control_allow_credentials',
36 + 'hh_access_control_allow_credentials_value',
37 + 'hh_access_control_allow_methods',
38 + 'hh_access_control_allow_methods_value',
39 + 'hh_access_control_allow_headers',
40 + 'hh_access_control_allow_headers_value',
41 + 'hh_access_control_expose_headers',
42 + 'hh_access_control_expose_headers_value',
43 + 'hh_access_control_max_age',
44 + 'hh_access_control_max_age_value',
45 +);
8 46
9 -foreach ($http_headers_options as $http_headers_option)
47 +foreach ($options as $option)
10 48 {
11 - delete_option( $http_headers_option[0] );
49 + delete_option( $option );
12 50 }