Plugin Directory


Ignore:
Timestamp:
03/29/2024 02:07:15 AM (2 years ago)
Author:
termageddon
Message:

[1.4.0] Disable for Troubleshooting toggle added

Added ability to disable plugin for troubleshooting to all visitors unless ?enable-usercentrics is added as a query parameter to the URL.

Location:
termageddon-usercentrics
Files:
3 deleted
6 edited
66 copied

Legend:

Unmodified
Added
Removed
  • termageddon-usercentrics/tags/1.4.0/README.txt

    r3052208 r3060868  
    55Requires at least: 3.0.1
    66Tested up to: 6.4.3
    7 Stable tag: 1.3.9
     7Stable tag: 1.4.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727== Changelog ==
    2828
     29= 1.4.0 =
     30
     31-   [ADD] Added ability to disable plugin for troubleshooting to all visitors unless ?enable-usercentrics is added as a query parameter to the URL.
     32
    2933= 1.3.9 =
    3034
    3135-   [CHANGE] Removed jQuery as requirement for privacy settings link.
    3236-   [Change] Enqueued jQuery where required for other implementations to avoid a missing dependency.
    33 
    3437
    3538= 1.3.8 =
  • termageddon-usercentrics/tags/1.4.0/admin/class-termageddon-usercentrics-admin.php

    r3049451 r3060868  
    393393        );
    394394
    395         // BREAK SECTION FOR GEOLOCATION SETTINGS.
     395        // BREAK SECTION FOR PSL SETTINGS.
    396396        $this->add_new_subsection(
    397397            'termageddon_usercentrics_section_settings',
     
    441441        );
    442442
    443         // BREAK SECTION FOR GEOLOCATION SETTINGS.
     443        // BREAK SECTION FOR INTEGRATION SETTINGS.
    444444        $this->add_new_subsection(
    445445            'termageddon_usercentrics_section_settings',
     
    484484            'termageddon_usercentrics_settings', // settings group name.
    485485            'termageddon_usercentrics_integration_presto_player', // option name.
     486            '' // sanitization function.
     487        );
     488
     489        // BREAK SECTION FOR OTHER SETTINGS.
     490        $this->add_new_subsection(
     491            'termageddon_usercentrics_section_settings',
     492            array(
     493                'name'        => 'Other Settings',
     494                'description' => 'This section contains various other settings that can be adjusted for this plugin.',
     495            )
     496        );
     497
     498        // Privacy Settings Link Disable.
     499        add_settings_field(
     500            'termageddon_usercentrics_disable_troubleshooting',
     501            __( 'Disable for Troubleshooting', 'termageddon-usercentrics' ),
     502            array( &$this, 'disable_troubleshooting_html' ), // function which prints the field.
     503            'termageddon-usercentrics', // page slug.
     504            'termageddon_usercentrics_section_settings', // section ID.
     505            array(
     506                'label_for'   => 'termageddon_usercentrics_disable_troubleshooting',
     507                'description' => __( 'When enabled, this feature allows you to disable the consent tool for all site visitors, however by adding <code>?enable-usercentrics</code> to the end of a URL, the consent tool will load, allowing you to troubleshoot any issues (or to reach out to Termageddon support to help assist with troubleshooting)', 'termageddon-usercentrics' ),
     508            )
     509        );
     510
     511        register_setting(
     512            'termageddon_usercentrics_settings', // settings group name.
     513            'termageddon_usercentrics_disable_troubleshooting', // option name.
    486514            '' // sanitization function.
    487515        );
     
    819847    }
    820848    /**
    821      * The HTML field for the psl hidden checkbox.
     849     * The HTML field for the psl alternate implementation checkbox.
    822850     *
    823851     * @param array $args The arguments provided by the add_settings_field() method.
     
    826854    public function psl_alternate_implementation( array $args ) {
    827855        self::generate_checkbox( 'alternate', 'psl', $args );
     856    }
     857    /**
     858     * The HTML field for the disable troubleshooting checkbox.
     859     *
     860     * @param array $args The arguments provided by the add_settings_field() method.
     861     * @return void
     862     */
     863    public function disable_troubleshooting_html( array $args ) {
     864        self::generate_checkbox( 'troubleshooting', 'disable', $args );
    828865    }
    829866    /**
  • termageddon-usercentrics/tags/1.4.0/includes/class-termageddon-usercentrics.php

    r3052208 r3060868  
    342342
    343343    /**
    344      * Generate a random string with specified paramaters
     344     * Generate a random string with specified parameters
    345345     *
    346346     * @param int   $length The length of string to generate.
     
    742742
    743743    /**
    744      * Returns whether debug mode is enabled via the query paramater
     744     * Returns whether debug mode is enabled via the query parameter
    745745     *
    746746     * @return bool
     
    750750
    751751    }
    752 
    753 
    754     /**
    755      * Returns whether debug mode is enabled via the query paramater
     752   
     753   
     754    /**
     755     * Returns whether disabled for troubleshooting mode is enabled and not in the query params
     756     *
     757     * @return bool
     758     */
     759    public static function is_disabled_for_troubleshooting() {
     760        $enabled = ( get_option( 'termageddon_usercentrics_disable_troubleshooting', false ) ? true : false );
     761
     762        if ($enabled && !isset($_GET['enable-usercentrics'])) return true;
     763        return false;
     764
     765    }
     766
     767
     768    /**
     769     * Returns whether debug mode is enabled via the query parameter
    756770     *
    757771     * @return bool
     
    764778
    765779    /**
    766      * Returns whether debug mode is enabled via the query paramater
     780     * Returns whether debug mode is enabled via the query parameter
    767781     *
    768782     * @return bool
  • termageddon-usercentrics/tags/1.4.0/languages/termageddon-usercentrics.pot

    r3049451 r3060868  
    44"Project-Id-Version: Termageddon + Usercentrics\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2024-03-12 02:56+0000\n"
     6"POT-Creation-Date: 2024-03-29 02:00+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    2929msgstr ""
    3030
    31 #: admin/class-termageddon-usercentrics-admin.php:989
     31#: admin/class-termageddon-usercentrics-admin.php:1026
    3232msgid "along with page 1 of your Privacy Policy questionnaire within "
    3333msgstr ""
    3434
    35 #: admin/class-termageddon-usercentrics-admin.php:575
     35#: admin/class-termageddon-usercentrics-admin.php:603
    3636msgid "California (CPRA or CIPA)"
    3737msgstr ""
    3838
    39 #: admin/class-termageddon-usercentrics-admin.php:557
     39#: admin/class-termageddon-usercentrics-admin.php:585
    4040msgid "Canada (PIPEDA)"
    4141msgstr ""
    4242
    4343#. section ID.
    44 #: admin/class-termageddon-usercentrics-admin.php:667
     44#: admin/class-termageddon-usercentrics-admin.php:695
    4545msgid "Control Panel"
    4646msgstr ""
    4747
    48 #: admin/class-termageddon-usercentrics-admin.php:949
     48#: admin/class-termageddon-usercentrics-admin.php:986
    4949msgid "Cookie Policy and Consent Solution"
    5050msgstr ""
     
    5252#: admin/class-termageddon-usercentrics-admin.php:180
    5353msgid "Debug Information"
     54msgstr ""
     55
     56#: admin/class-termageddon-usercentrics-admin.php:501
     57msgid "Disable for Troubleshooting"
    5458msgstr ""
    5559
     
    7377msgstr ""
    7478
    75 #: admin/class-termageddon-usercentrics-admin.php:620
     79#: admin/class-termageddon-usercentrics-admin.php:648
    7680msgid "Enable location logging"
    7781msgstr ""
    7882
    79 #: admin/class-termageddon-usercentrics-admin.php:640
     83#: admin/class-termageddon-usercentrics-admin.php:668
    8084msgid "Enable page caching support via AJAX"
    8185msgstr ""
    8286
    83 #: admin/class-termageddon-usercentrics-admin.php:681
     87#: admin/class-termageddon-usercentrics-admin.php:709
    8488msgid "Error Count"
    8589msgstr ""
     
    8993msgstr ""
    9094
    91 #: admin/class-termageddon-usercentrics-admin.php:699
     95#: admin/class-termageddon-usercentrics-admin.php:727
    9296msgid "Error List"
    9397msgstr ""
    9498
    95 #: admin/class-termageddon-usercentrics-admin.php:521
     99#: admin/class-termageddon-usercentrics-admin.php:549
    96100msgid "European Union & European Economic Area (GDPR)"
    97101msgstr ""
     
    111115#. section ID.
    112116#: admin/class-termageddon-usercentrics-admin.php:172
    113 #: admin/class-termageddon-usercentrics-admin.php:501
     117#: admin/class-termageddon-usercentrics-admin.php:529
    114118msgid "Geo-Location"
    115119msgstr ""
    116120
    117121#: admin/class-termageddon-usercentrics-admin.php:143
    118 #: admin/class-termageddon-usercentrics-admin.php:998
     122#: admin/class-termageddon-usercentrics-admin.php:1035
    119123msgid ""
    120124"Geo-Location is enabled, but no locations have been toggled on. This means "
     
    154158msgstr ""
    155159
    156 #: admin/class-termageddon-usercentrics-admin.php:967
     160#: admin/class-termageddon-usercentrics-admin.php:1004
    157161msgid "If you are using the Divi theme"
    158162msgstr ""
    159163
    160 #: admin/class-termageddon-usercentrics-admin.php:966
     164#: admin/class-termageddon-usercentrics-admin.php:1003
    161165msgid ""
    162166"If you would like to remove Usercentrics for logged in users such as admins, "
     
    176180msgstr ""
    177181
    178 #: admin/class-termageddon-usercentrics-admin.php:989
     182#: admin/class-termageddon-usercentrics-admin.php:1026
    179183msgid "Not sure what to select? Review"
    180184msgstr ""
     
    210214msgstr ""
    211215
    212 #: admin/class-termageddon-usercentrics-admin.php:989
     216#: admin/class-termageddon-usercentrics-admin.php:1026
    213217msgid "this article"
    214218msgstr ""
     
    226230msgstr ""
    227231
    228 #: admin/class-termageddon-usercentrics-admin.php:1010
     232#: admin/class-termageddon-usercentrics-admin.php:1047
    229233msgid ""
    230234"To reset any of the backend variables, update the values below and save your "
     
    232236msgstr ""
    233237
    234 #: admin/class-termageddon-usercentrics-admin.php:539
     238#: admin/class-termageddon-usercentrics-admin.php:567
    235239msgid "United Kingdom (UK DPA)"
    236240msgstr ""
    237241
    238 #: admin/class-termageddon-usercentrics-admin.php:948
     242#: admin/class-termageddon-usercentrics-admin.php:985
    239243msgid "Upon generating your "
    240244msgstr ""
    241245
    242 #: admin/class-termageddon-usercentrics-admin.php:934
     246#: admin/class-termageddon-usercentrics-admin.php:971
    243247msgid "Upon saving, all previous errors in the log will be deleted."
    244248msgstr ""
    245249
    246 #: admin/class-termageddon-usercentrics-admin.php:593
     250#: admin/class-termageddon-usercentrics-admin.php:621
    247251msgid "Virginia (VCDPA)"
    248252msgstr ""
     
    268272msgstr ""
    269273
    270 #: admin/class-termageddon-usercentrics-admin.php:626
     274#: admin/class-termageddon-usercentrics-admin.php:654
    271275msgid ""
    272276"When enabled, the visitor's location can be viewed in the browser console, "
     
    274278msgstr ""
    275279
    276 #: admin/class-termageddon-usercentrics-admin.php:646
     280#: admin/class-termageddon-usercentrics-admin.php:674
    277281msgid ""
    278282"When enabled, the visitor's location is checked via javascript to allow "
     
    280284msgstr ""
    281285
    282 #: admin/class-termageddon-usercentrics-admin.php:985
     286#: admin/class-termageddon-usercentrics-admin.php:507
     287msgid ""
     288"When enabled, this feature allows you to disable the consent tool for all "
     289"site visitors, however by adding <code>?enable-usercentrics</code> to the "
     290"end of a URL, the consent tool will load, allowing you to troubleshoot any "
     291"issues (or to reach out to Termageddon support to help assist with "
     292"troubleshooting)"
     293msgstr ""
     294
     295#: admin/class-termageddon-usercentrics-admin.php:1022
    283296msgid ""
    284297"When enabled, you will be collecting IP addresses for the purposes of "
     
    296309msgstr ""
    297310
    298 #: admin/class-termageddon-usercentrics-admin.php:950
     311#: admin/class-termageddon-usercentrics-admin.php:987
    299312msgid ""
    300313"within your Termageddon account, you will be brought to the \"View embed "
     
    303316msgstr ""
    304317
    305 #: admin/class-termageddon-usercentrics-admin.php:968
     318#: admin/class-termageddon-usercentrics-admin.php:1005
    306319msgid ""
    307320"you will need to enable at least one of the settings below to ensure logged "
  • termageddon-usercentrics/tags/1.4.0/public/class-termageddon-usercentrics-public.php

    r3052208 r3060868  
    155155        }
    156156
     157        // Check for Disable for troubleshooting while validating query param.
     158        if (Termageddon_Usercentrics::is_disabled_for_troubleshooting()) {
     159            return self::disable_termageddon_script();
     160        }
     161
    157162        // Debug Display to identify locations.
    158163        if ( ( Termageddon_Usercentrics::is_geoip_enabled() || Termageddon_Usercentrics::is_debug_mode_enabled() )
  • termageddon-usercentrics/tags/1.4.0/termageddon-usercentrics.php

    r3052208 r3060868  
    1515 * Plugin Name:       Termageddon + Usercentrics
    1616 * Description:       Easily integrate the Usercentrics consent solution into your website while controlling visibility for logged in users and admins.
    17  * Version:           1.3.9
     17 * Version:           1.4.0
    1818 * Author:            Termageddon
    1919 * Author URI:        https://termageddon.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.3.9' );
     36define( 'TERMAGEDDON_COOKIE_VERSION', '1.4.0' );
    3737
    3838define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash.
  • termageddon-usercentrics/trunk/README.txt

    r3052208 r3060868  
    55Requires at least: 3.0.1
    66Tested up to: 6.4.3
    7 Stable tag: 1.3.9
     7Stable tag: 1.4.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727== Changelog ==
    2828
     29= 1.4.0 =
     30
     31-   [ADD] Added ability to disable plugin for troubleshooting to all visitors unless ?enable-usercentrics is added as a query parameter to the URL.
     32
    2933= 1.3.9 =
    3034
    3135-   [CHANGE] Removed jQuery as requirement for privacy settings link.
    3236-   [Change] Enqueued jQuery where required for other implementations to avoid a missing dependency.
    33 
    3437
    3538= 1.3.8 =
  • termageddon-usercentrics/trunk/admin/class-termageddon-usercentrics-admin.php

    r3049451 r3060868  
    393393        );
    394394
    395         // BREAK SECTION FOR GEOLOCATION SETTINGS.
     395        // BREAK SECTION FOR PSL SETTINGS.
    396396        $this->add_new_subsection(
    397397            'termageddon_usercentrics_section_settings',
     
    441441        );
    442442
    443         // BREAK SECTION FOR GEOLOCATION SETTINGS.
     443        // BREAK SECTION FOR INTEGRATION SETTINGS.
    444444        $this->add_new_subsection(
    445445            'termageddon_usercentrics_section_settings',
     
    484484            'termageddon_usercentrics_settings', // settings group name.
    485485            'termageddon_usercentrics_integration_presto_player', // option name.
     486            '' // sanitization function.
     487        );
     488
     489        // BREAK SECTION FOR OTHER SETTINGS.
     490        $this->add_new_subsection(
     491            'termageddon_usercentrics_section_settings',
     492            array(
     493                'name'        => 'Other Settings',
     494                'description' => 'This section contains various other settings that can be adjusted for this plugin.',
     495            )
     496        );
     497
     498        // Privacy Settings Link Disable.
     499        add_settings_field(
     500            'termageddon_usercentrics_disable_troubleshooting',
     501            __( 'Disable for Troubleshooting', 'termageddon-usercentrics' ),
     502            array( &$this, 'disable_troubleshooting_html' ), // function which prints the field.
     503            'termageddon-usercentrics', // page slug.
     504            'termageddon_usercentrics_section_settings', // section ID.
     505            array(
     506                'label_for'   => 'termageddon_usercentrics_disable_troubleshooting',
     507                'description' => __( 'When enabled, this feature allows you to disable the consent tool for all site visitors, however by adding <code>?enable-usercentrics</code> to the end of a URL, the consent tool will load, allowing you to troubleshoot any issues (or to reach out to Termageddon support to help assist with troubleshooting)', 'termageddon-usercentrics' ),
     508            )
     509        );
     510
     511        register_setting(
     512            'termageddon_usercentrics_settings', // settings group name.
     513            'termageddon_usercentrics_disable_troubleshooting', // option name.
    486514            '' // sanitization function.
    487515        );
     
    819847    }
    820848    /**
    821      * The HTML field for the psl hidden checkbox.
     849     * The HTML field for the psl alternate implementation checkbox.
    822850     *
    823851     * @param array $args The arguments provided by the add_settings_field() method.
     
    826854    public function psl_alternate_implementation( array $args ) {
    827855        self::generate_checkbox( 'alternate', 'psl', $args );
     856    }
     857    /**
     858     * The HTML field for the disable troubleshooting checkbox.
     859     *
     860     * @param array $args The arguments provided by the add_settings_field() method.
     861     * @return void
     862     */
     863    public function disable_troubleshooting_html( array $args ) {
     864        self::generate_checkbox( 'troubleshooting', 'disable', $args );
    828865    }
    829866    /**
  • termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics.php

    r3052208 r3060868  
    342342
    343343    /**
    344      * Generate a random string with specified paramaters
     344     * Generate a random string with specified parameters
    345345     *
    346346     * @param int   $length The length of string to generate.
     
    742742
    743743    /**
    744      * Returns whether debug mode is enabled via the query paramater
     744     * Returns whether debug mode is enabled via the query parameter
    745745     *
    746746     * @return bool
     
    750750
    751751    }
    752 
    753 
    754     /**
    755      * Returns whether debug mode is enabled via the query paramater
     752   
     753   
     754    /**
     755     * Returns whether disabled for troubleshooting mode is enabled and not in the query params
     756     *
     757     * @return bool
     758     */
     759    public static function is_disabled_for_troubleshooting() {
     760        $enabled = ( get_option( 'termageddon_usercentrics_disable_troubleshooting', false ) ? true : false );
     761
     762        if ($enabled && !isset($_GET['enable-usercentrics'])) return true;
     763        return false;
     764
     765    }
     766
     767
     768    /**
     769     * Returns whether debug mode is enabled via the query parameter
    756770     *
    757771     * @return bool
     
    764778
    765779    /**
    766      * Returns whether debug mode is enabled via the query paramater
     780     * Returns whether debug mode is enabled via the query parameter
    767781     *
    768782     * @return bool
  • termageddon-usercentrics/trunk/languages/termageddon-usercentrics.pot

    r3049451 r3060868  
    44"Project-Id-Version: Termageddon + Usercentrics\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2024-03-12 02:56+0000\n"
     6"POT-Creation-Date: 2024-03-29 02:00+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    2929msgstr ""
    3030
    31 #: admin/class-termageddon-usercentrics-admin.php:989
     31#: admin/class-termageddon-usercentrics-admin.php:1026
    3232msgid "along with page 1 of your Privacy Policy questionnaire within "
    3333msgstr ""
    3434
    35 #: admin/class-termageddon-usercentrics-admin.php:575
     35#: admin/class-termageddon-usercentrics-admin.php:603
    3636msgid "California (CPRA or CIPA)"
    3737msgstr ""
    3838
    39 #: admin/class-termageddon-usercentrics-admin.php:557
     39#: admin/class-termageddon-usercentrics-admin.php:585
    4040msgid "Canada (PIPEDA)"
    4141msgstr ""
    4242
    4343#. section ID.
    44 #: admin/class-termageddon-usercentrics-admin.php:667
     44#: admin/class-termageddon-usercentrics-admin.php:695
    4545msgid "Control Panel"
    4646msgstr ""
    4747
    48 #: admin/class-termageddon-usercentrics-admin.php:949
     48#: admin/class-termageddon-usercentrics-admin.php:986
    4949msgid "Cookie Policy and Consent Solution"
    5050msgstr ""
     
    5252#: admin/class-termageddon-usercentrics-admin.php:180
    5353msgid "Debug Information"
     54msgstr ""
     55
     56#: admin/class-termageddon-usercentrics-admin.php:501
     57msgid "Disable for Troubleshooting"
    5458msgstr ""
    5559
     
    7377msgstr ""
    7478
    75 #: admin/class-termageddon-usercentrics-admin.php:620
     79#: admin/class-termageddon-usercentrics-admin.php:648
    7680msgid "Enable location logging"
    7781msgstr ""
    7882
    79 #: admin/class-termageddon-usercentrics-admin.php:640
     83#: admin/class-termageddon-usercentrics-admin.php:668
    8084msgid "Enable page caching support via AJAX"
    8185msgstr ""
    8286
    83 #: admin/class-termageddon-usercentrics-admin.php:681
     87#: admin/class-termageddon-usercentrics-admin.php:709
    8488msgid "Error Count"
    8589msgstr ""
     
    8993msgstr ""
    9094
    91 #: admin/class-termageddon-usercentrics-admin.php:699
     95#: admin/class-termageddon-usercentrics-admin.php:727
    9296msgid "Error List"
    9397msgstr ""
    9498
    95 #: admin/class-termageddon-usercentrics-admin.php:521
     99#: admin/class-termageddon-usercentrics-admin.php:549
    96100msgid "European Union & European Economic Area (GDPR)"
    97101msgstr ""
     
    111115#. section ID.
    112116#: admin/class-termageddon-usercentrics-admin.php:172
    113 #: admin/class-termageddon-usercentrics-admin.php:501
     117#: admin/class-termageddon-usercentrics-admin.php:529
    114118msgid "Geo-Location"
    115119msgstr ""
    116120
    117121#: admin/class-termageddon-usercentrics-admin.php:143
    118 #: admin/class-termageddon-usercentrics-admin.php:998
     122#: admin/class-termageddon-usercentrics-admin.php:1035
    119123msgid ""
    120124"Geo-Location is enabled, but no locations have been toggled on. This means "
     
    154158msgstr ""
    155159
    156 #: admin/class-termageddon-usercentrics-admin.php:967
     160#: admin/class-termageddon-usercentrics-admin.php:1004
    157161msgid "If you are using the Divi theme"
    158162msgstr ""
    159163
    160 #: admin/class-termageddon-usercentrics-admin.php:966
     164#: admin/class-termageddon-usercentrics-admin.php:1003
    161165msgid ""
    162166"If you would like to remove Usercentrics for logged in users such as admins, "
     
    176180msgstr ""
    177181
    178 #: admin/class-termageddon-usercentrics-admin.php:989
     182#: admin/class-termageddon-usercentrics-admin.php:1026
    179183msgid "Not sure what to select? Review"
    180184msgstr ""
     
    210214msgstr ""
    211215
    212 #: admin/class-termageddon-usercentrics-admin.php:989
     216#: admin/class-termageddon-usercentrics-admin.php:1026
    213217msgid "this article"
    214218msgstr ""
     
    226230msgstr ""
    227231
    228 #: admin/class-termageddon-usercentrics-admin.php:1010
     232#: admin/class-termageddon-usercentrics-admin.php:1047
    229233msgid ""
    230234"To reset any of the backend variables, update the values below and save your "
     
    232236msgstr ""
    233237
    234 #: admin/class-termageddon-usercentrics-admin.php:539
     238#: admin/class-termageddon-usercentrics-admin.php:567
    235239msgid "United Kingdom (UK DPA)"
    236240msgstr ""
    237241
    238 #: admin/class-termageddon-usercentrics-admin.php:948
     242#: admin/class-termageddon-usercentrics-admin.php:985
    239243msgid "Upon generating your "
    240244msgstr ""
    241245
    242 #: admin/class-termageddon-usercentrics-admin.php:934
     246#: admin/class-termageddon-usercentrics-admin.php:971
    243247msgid "Upon saving, all previous errors in the log will be deleted."
    244248msgstr ""
    245249
    246 #: admin/class-termageddon-usercentrics-admin.php:593
     250#: admin/class-termageddon-usercentrics-admin.php:621
    247251msgid "Virginia (VCDPA)"
    248252msgstr ""
     
    268272msgstr ""
    269273
    270 #: admin/class-termageddon-usercentrics-admin.php:626
     274#: admin/class-termageddon-usercentrics-admin.php:654
    271275msgid ""
    272276"When enabled, the visitor's location can be viewed in the browser console, "
     
    274278msgstr ""
    275279
    276 #: admin/class-termageddon-usercentrics-admin.php:646
     280#: admin/class-termageddon-usercentrics-admin.php:674
    277281msgid ""
    278282"When enabled, the visitor's location is checked via javascript to allow "
     
    280284msgstr ""
    281285
    282 #: admin/class-termageddon-usercentrics-admin.php:985
     286#: admin/class-termageddon-usercentrics-admin.php:507
     287msgid ""
     288"When enabled, this feature allows you to disable the consent tool for all "
     289"site visitors, however by adding <code>?enable-usercentrics</code> to the "
     290"end of a URL, the consent tool will load, allowing you to troubleshoot any "
     291"issues (or to reach out to Termageddon support to help assist with "
     292"troubleshooting)"
     293msgstr ""
     294
     295#: admin/class-termageddon-usercentrics-admin.php:1022
    283296msgid ""
    284297"When enabled, you will be collecting IP addresses for the purposes of "
     
    296309msgstr ""
    297310
    298 #: admin/class-termageddon-usercentrics-admin.php:950
     311#: admin/class-termageddon-usercentrics-admin.php:987
    299312msgid ""
    300313"within your Termageddon account, you will be brought to the \"View embed "
     
    303316msgstr ""
    304317
    305 #: admin/class-termageddon-usercentrics-admin.php:968
     318#: admin/class-termageddon-usercentrics-admin.php:1005
    306319msgid ""
    307320"you will need to enable at least one of the settings below to ensure logged "
  • termageddon-usercentrics/trunk/public/class-termageddon-usercentrics-public.php

    r3052208 r3060868  
    155155        }
    156156
     157        // Check for Disable for troubleshooting while validating query param.
     158        if (Termageddon_Usercentrics::is_disabled_for_troubleshooting()) {
     159            return self::disable_termageddon_script();
     160        }
     161
    157162        // Debug Display to identify locations.
    158163        if ( ( Termageddon_Usercentrics::is_geoip_enabled() || Termageddon_Usercentrics::is_debug_mode_enabled() )
  • termageddon-usercentrics/trunk/termageddon-usercentrics.php

    r3052208 r3060868  
    1515 * Plugin Name:       Termageddon + Usercentrics
    1616 * Description:       Easily integrate the Usercentrics consent solution into your website while controlling visibility for logged in users and admins.
    17  * Version:           1.3.9
     17 * Version:           1.4.0
    1818 * Author:            Termageddon
    1919 * Author URI:        https://termageddon.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.3.9' );
     36define( 'TERMAGEDDON_COOKIE_VERSION', '1.4.0' );
    3737
    3838define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash.
Note: See TracChangeset for help on using the changeset viewer.