PluginProbe
CookieAdmin – Cookie Consent Banner / 1.2.6
CookieAdmin – Cookie Consent Banner v1.2.6
1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 All 26 releases
← All changes | includes/admin/dashboard.php +2 -2 1.2.2 → 1.2.6 View file →
@@ -29,9 +29,9 @@
29 29 $stats['consent_type'] = array(
30 30 'icon' => 'admin-site',
31 31 'icon_color' => 'blue',
32 32 'label' => __('Consent Type', 'cookieadmin'),
33 - 'value' => ($view == 'cookieadmin_us' ? esc_html__('US State Laws', 'cookieadmin') : esc_html__('GDPR', 'cookieadmin')),
33 + 'value' => ($view == 'cookieadmin_us' ? esc_html__('US State Laws', 'cookieadmin') : ($view == 'cookieadmin_dpdp' ? esc_html__('DPDP Act (India)', 'cookieadmin') : esc_html__('GDPR', 'cookieadmin'))),
34 34 'value_class' => 'cookieadmin-uppercase',
35 35 'edit_url' => admin_url('admin.php?page=cookieadmin-consent'),
36 36 );
37 37
@@ -177,9 +177,9 @@
177 177 );
178 178
179 179 $checklist[] = array(
180 180 'label' => __('Set Consent Type', 'cookieadmin'),
181 - 'done' => (!empty($law) && in_array($law, array('cookieadmin_gdpr', 'cookieadmin_us'), true)),
181 + 'done' => (!empty($law) && in_array($law, array('cookieadmin_gdpr', 'cookieadmin_us', 'cookieadmin_dpdp'), true)),
182 182 'url' => admin_url('admin.php?page=cookieadmin-consent'),
183 183 );
184 184
185 185 $checklist[] = array(