array(
'warning_condition' => 'NOT cmplz_has_recommended_phpversion',
'urgent' => __( 'Your PHP version is lower than the recommended PHP version. Some features are not available. Support for this PHP version will be dropped soon.', 'complianz-gdpr' ),
'url' => 'https://complianz.io/php-version/',
'plus_one' => true,
'include_in_progress' => true,
),
'migrate_js' => array(
'warning_condition' => 'get_value_enable_migrate_js==yes',
'open' => __( 'Migrate.js, which allowed a smooth upgrade to 6.0, has been deprecated.', 'complianz-gdpr' ),
'url' => 'https://complianz.io/migrate-js-deprecated/',
'admin_notice' => true,
),
'enable_quebec_region' => array(
'warning_condition' => 'cmplz_requires_quebec_notice',
'open' => cmplz_quebec_notice(),
'url' => 'https://complianz.io/quebec-bill-64/',
'admin_notice' => true,
'dismissible' => true,
),
// 'new_gutenberg_consentarea' => array(
// 'warning_condition' => 'cmplz_upgraded_to_current_version',
// 'open' => __( 'New: Gutenberg Block with consent capabilities.', 'complianz-gdpr' ),
// 'admin_notice' => false,
// 'plus_one' => true,
// 'url' => 'https://complianz.io/gutenberg-block-consent/'
// ),
'no-dnt' => array(
'success_conditions' => array(
'get_value_respect_dnt==yes'
),
'completed' => __( 'Do Not Track and Global Privacy Control are respected.', 'complianz-gdpr' ),
// 'open' => __( 'Do Not Track and Global Privacy Control are not yet respected.', 'complianz-gdpr' ),
'url' => 'https://complianz.io/browser-privacy-controls/',
),
'ajax_fallback' => array(
'warning_condition' =>'get_option_cmplz_ajax_fallback_active',
'urgent' => __( "Please check if your REST API is loading correctly. Your site currently is using the slower Ajax fallback method to load the settings.", 'complianz-gdpr' ),
'url' => 'https://complianz.io/instructions/how-to-debug-a-blank-settings-page-in-complianz/',
'plus_one' => true,
),
'has_formal' => array(
'success_conditions' => array(
'NOT document->locale_has_formal_variant',
),
'open' => __( 'You have currently selected an informal language, which will result in informal use of language on the legal documents. If you prefer the formal style, you can activate this in the general settings.', 'complianz-gdpr' ),
'include_in_progress' => true,
'url' =>'https://complianz.io/informal-language-in-legal-documents/'
),
'google-fonts' => array(
'plus_one' => true,
'warning_condition' => 'banner_loader->show_google_fonts_notice',
'success_conditions' => array(
),
'open' => __( 'Google Fonts requires your attention.', 'complianz-gdpr' ) ." ". __( 'We have added additional support and recommend reviewing your settings.', 'complianz-gdpr' )." " . cmplz_sprintf( __( 'Please read this %sarticle%s to read our position on self-hosting Google Fonts and Privacy by Design.', 'complianz-gdpr' ), '', ''),
'include_in_progress' => true,
'url' => 'https://complianz.io/self-hosting-google-fonts-for-wordpress/',
),
'cookies-changed' => array(
'plus_one' => true,
'warning_condition' => 'scan->cookies_changed',
'success_conditions' => array(
),
'completed' => __( 'No cookie changes have been detected.', 'complianz-gdpr' ),
'open' => __( 'Cookie changes have been detected.', 'complianz-gdpr' ) . " " . __( 'Please review your cookies for changes.', 'complianz-gdpr' ),
'include_in_progress' => true,
),
'no-cookie-scan' => array(
'success_conditions' => array(
'banner_loader->get_last_cookie_scan_date',
),
'completed' => cmplz_sprintf( __( 'Last site scan completed on %s.', 'complianz-gdpr' ), COMPLIANZ::$banner_loader->get_last_cookie_scan_date() ),
'open' => __( 'No site scan has been completed yet.', 'complianz-gdpr' ),
'include_in_progress' => true,
'dismissible' => false,
),
'all-pages-created' => array(
'warning_condition' => 'get_option_cmplz_wizard_completed_once',
'success_conditions' => array(
'documents_admin->all_required_pages_created',
),
'completed' => __( 'All required pages have been generated.', 'complianz-gdpr' ),
'open' => __( 'Not all required pages have been generated.', 'complianz-gdpr' ),
'include_in_progress' => true,
),
'hardening' => array(
'warning_condition' => 'admin->no_security_plugin_active',
'open' => __( "Harden your website and quickly detect vulnerabilities with Really Simple Security", 'complianz-gdpr' ),
'include_in_progress' => true,
'url' => '#tools/security'
),
'ga-needs-configuring' => array(
'warning_condition' => 'banner_loader->uses_google_analytics',
'success_conditions' => array(
'banner_loader->analytics_configured',
),
'open' => __( 'Google Analytics is being used, but is not configured in Complianz.', 'complianz-gdpr' ),
'include_in_progress' => true,
),
'gtm-needs-configuring' => array(
'warning_condition' => 'banner_loader->uses_google_tagmanager',
'success_conditions' => array(
'banner_loader->tagmanager_configured',
),
'open' => __( 'Google Tag Manager is being used, but is not configured in Complianz.', 'complianz-gdpr' ),
'include_in_progress' => true,
),
'matomo-needs-configuring' => array(
'warning_condition' => 'banner_loader->uses_matomo',
'success_conditions' => array(
'banner_loader->matomo_configured',
),
'open' => __( 'Matomo is being used, but is not configured in Complianz.', 'complianz-gdpr' ),
'include_in_progress' => true,
),
'docs-need-updating' => array(
'success_conditions' => array(
'NOT document->documents_need_updating'
),
'open' => __( 'Your documents have not been updated in the past 12 months. Run the wizard to check your settings.', 'complianz-gdpr' ),
'include_in_progress' => true,
),
'cookies-incomplete' => array(
'warning_condition' => 'NOT banner_loader->use_cdb_api',
'success_conditions' => array(
'NOT sync->has_empty_cookie_descriptions',
),
'open' => __( 'You have cookies with incomplete descriptions.', 'complianz-gdpr' ) . " "
. __( 'Enable the cookiedatabase.org API for automatic descriptions, or add these manually.', 'complianz-gdpr' ),
'include_in_progress' => true,
'url' => '#wizard/cookie-descriptions'
),
'double-stats' => array(
'success_conditions' => array(
'NOT get_option_cmplz_double_stats',
),
'warning_condition' => 'cmplz_uses_statistics',
'open' => __( 'You have a duplicate implementation of your statistics tool on your site.', 'complianz-gdpr' ) .
__( 'After the issue has been resolved, please re-run a scan to clear this message.', 'complianz-gdpr' ),
'include_in_progress' => true,
'dismissible' => true,
'url' => 'https://complianz.io/duplicate-implementation-of-analytics/',
),
'console-errors' => array(
'warning_condition' => 'banner_loader->site_needs_cookie_warning',
'success_conditions' => array(
'NOT cmplz_get_console_errors',
),
'open' => __( 'JavaScript errors are detected on the front-end of your site. This may break the consent banner functionality.', 'complianz-gdpr' )
. '
'.__("Last error in the console:", "complianz-gdpr")
.'