Plugin Directory

Changeset 3148044


Ignore:
Timestamp:
09/07/2024 04:20:34 PM (19 months ago)
Author:
pressidium
Message:

Update to version 1.5.2 from GitHub

Location:
pressidium-cookie-consent
Files:
2 added
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pressidium-cookie-consent/tags/1.5.2/composer.lock

    r3131094 r3148044  
    228228        {
    229229            "name": "composer/pcre",
    230             "version": "3.2.0",
     230            "version": "3.3.1",
    231231            "source": {
    232232                "type": "git",
    233233                "url": "https://github.com/composer/pcre.git",
    234                 "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90"
    235             },
    236             "dist": {
    237                 "type": "zip",
    238                 "url": "https://api.github.com/repos/composer/pcre/zipball/ea4ab6f9580a4fd221e0418f2c357cdd39102a90",
    239                 "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90",
     234                "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4"
     235            },
     236            "dist": {
     237                "type": "zip",
     238                "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4",
     239                "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4",
    240240                "shasum": ""
    241241            },
     
    244244            },
    245245            "conflict": {
    246                 "phpstan/phpstan": "<1.11.8"
    247             },
    248             "require-dev": {
    249                 "phpstan/phpstan": "^1.11.8",
     246                "phpstan/phpstan": "<1.11.10"
     247            },
     248            "require-dev": {
     249                "phpstan/phpstan": "^1.11.10",
    250250                "phpstan/phpstan-strict-rules": "^1.1",
    251251                "phpunit/phpunit": "^8 || ^9"
     
    287287            "support": {
    288288                "issues": "https://github.com/composer/pcre/issues",
    289                 "source": "https://github.com/composer/pcre/tree/3.2.0"
     289                "source": "https://github.com/composer/pcre/tree/3.3.1"
    290290            },
    291291            "funding": [
     
    303303                }
    304304            ],
    305             "time": "2024-07-25T09:36:02+00:00"
     305            "time": "2024-08-27T18:44:43+00:00"
    306306        },
    307307        {
     
    639639        {
    640640            "name": "fidry/cpu-core-counter",
    641             "version": "1.1.0",
     641            "version": "1.2.0",
    642642            "source": {
    643643                "type": "git",
    644644                "url": "https://github.com/theofidry/cpu-core-counter.git",
    645                 "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42"
    646             },
    647             "dist": {
    648                 "type": "zip",
    649                 "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42",
    650                 "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42",
     645                "reference": "8520451a140d3f46ac33042715115e290cf5785f"
     646            },
     647            "dist": {
     648                "type": "zip",
     649                "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f",
     650                "reference": "8520451a140d3f46ac33042715115e290cf5785f",
    651651                "shasum": ""
    652652            },
     
    688688            "support": {
    689689                "issues": "https://github.com/theofidry/cpu-core-counter/issues",
    690                 "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0"
     690                "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0"
    691691            },
    692692            "funding": [
     
    696696                }
    697697            ],
    698             "time": "2024-02-07T09:43:46+00:00"
     698            "time": "2024-08-06T10:04:20+00:00"
    699699        },
    700700        {
     
    16091609        {
    16101610            "name": "phpstan/extension-installer",
    1611             "version": "1.4.1",
     1611            "version": "1.4.3",
    16121612            "source": {
    16131613                "type": "git",
    16141614                "url": "https://github.com/phpstan/extension-installer.git",
    1615                 "reference": "f6b87faf9fc7978eab2f7919a8760bc9f58f9203"
    1616             },
    1617             "dist": {
    1618                 "type": "zip",
    1619                 "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f6b87faf9fc7978eab2f7919a8760bc9f58f9203",
    1620                 "reference": "f6b87faf9fc7978eab2f7919a8760bc9f58f9203",
     1615                "reference": "85e90b3942d06b2326fba0403ec24fe912372936"
     1616            },
     1617            "dist": {
     1618                "type": "zip",
     1619                "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/85e90b3942d06b2326fba0403ec24fe912372936",
     1620                "reference": "85e90b3942d06b2326fba0403ec24fe912372936",
    16211621                "shasum": ""
    16221622            },
     
    16241624                "composer-plugin-api": "^2.0",
    16251625                "php": "^7.2 || ^8.0",
    1626                 "phpstan/phpstan": "^1.9.0"
     1626                "phpstan/phpstan": "^1.9.0 || ^2.0"
    16271627            },
    16281628            "require-dev": {
     
    16451645            ],
    16461646            "description": "Composer plugin for automatic installation of PHPStan extensions",
     1647            "keywords": [
     1648                "dev",
     1649                "static analysis"
     1650            ],
    16471651            "support": {
    16481652                "issues": "https://github.com/phpstan/extension-installer/issues",
    1649                 "source": "https://github.com/phpstan/extension-installer/tree/1.4.1"
    1650             },
    1651             "time": "2024-06-10T08:20:49+00:00"
     1653                "source": "https://github.com/phpstan/extension-installer/tree/1.4.3"
     1654            },
     1655            "time": "2024-09-04T20:21:43+00:00"
    16521656        },
    16531657        {
    16541658            "name": "phpstan/phpdoc-parser",
    1655             "version": "1.29.1",
     1659            "version": "1.30.0",
    16561660            "source": {
    16571661                "type": "git",
    16581662                "url": "https://github.com/phpstan/phpdoc-parser.git",
    1659                 "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4"
    1660             },
    1661             "dist": {
    1662                 "type": "zip",
    1663                 "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fcaefacf2d5c417e928405b71b400d4ce10daaf4",
    1664                 "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4",
     1663                "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f"
     1664            },
     1665            "dist": {
     1666                "type": "zip",
     1667                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5ceb0e384997db59f38774bf79c2a6134252c08f",
     1668                "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f",
    16651669                "shasum": ""
    16661670            },
     
    16941698            "support": {
    16951699                "issues": "https://github.com/phpstan/phpdoc-parser/issues",
    1696                 "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.1"
    1697             },
    1698             "time": "2024-05-31T08:52:43+00:00"
     1700                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.0"
     1701            },
     1702            "time": "2024-08-29T09:54:52+00:00"
    16991703        },
    17001704        {
    17011705            "name": "phpstan/phpstan",
    1702             "version": "1.11.9",
     1706            "version": "1.12.2",
    17031707            "source": {
    17041708                "type": "git",
    17051709                "url": "https://github.com/phpstan/phpstan.git",
    1706                 "reference": "e370bcddadaede0c1716338b262346f40d296f82"
    1707             },
    1708             "dist": {
    1709                 "type": "zip",
    1710                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e370bcddadaede0c1716338b262346f40d296f82",
    1711                 "reference": "e370bcddadaede0c1716338b262346f40d296f82",
     1710                "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1"
     1711            },
     1712            "dist": {
     1713                "type": "zip",
     1714                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0ca1c7bb55fca8fe6448f16fff0f311ccec960a1",
     1715                "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1",
    17121716                "shasum": ""
    17131717            },
     
    17541758                }
    17551759            ],
    1756             "time": "2024-08-01T16:25:18+00:00"
     1760            "time": "2024-09-05T16:09:28+00:00"
    17571761        },
    17581762        {
     
    21452149        {
    21462150            "name": "symfony/console",
    2147             "version": "v5.4.42",
     2151            "version": "v5.4.43",
    21482152            "source": {
    21492153                "type": "git",
    21502154                "url": "https://github.com/symfony/console.git",
    2151                 "reference": "cef62396a0477e94fc52e87a17c6e5c32e226b7f"
    2152             },
    2153             "dist": {
    2154                 "type": "zip",
    2155                 "url": "https://api.github.com/repos/symfony/console/zipball/cef62396a0477e94fc52e87a17c6e5c32e226b7f",
    2156                 "reference": "cef62396a0477e94fc52e87a17c6e5c32e226b7f",
     2155                "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9"
     2156            },
     2157            "dist": {
     2158                "type": "zip",
     2159                "url": "https://api.github.com/repos/symfony/console/zipball/e86f8554de667c16dde8aeb89a3990cfde924df9",
     2160                "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9",
    21572161                "shasum": ""
    21582162            },
     
    22242228            ],
    22252229            "support": {
    2226                 "source": "https://github.com/symfony/console/tree/v5.4.42"
     2230                "source": "https://github.com/symfony/console/tree/v5.4.43"
    22272231            },
    22282232            "funding": [
     
    22402244                }
    22412245            ],
    2242             "time": "2024-07-26T12:21:55+00:00"
     2246            "time": "2024-08-13T16:31:56+00:00"
    22432247        },
    22442248        {
    22452249            "name": "symfony/dependency-injection",
    2246             "version": "v5.4.42",
     2250            "version": "v5.4.43",
    22472251            "source": {
    22482252                "type": "git",
    22492253                "url": "https://github.com/symfony/dependency-injection.git",
    2250                 "reference": "c8409889fdbf48b99271930ea0ebcf3ee5e1ceae"
    2251             },
    2252             "dist": {
    2253                 "type": "zip",
    2254                 "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/c8409889fdbf48b99271930ea0ebcf3ee5e1ceae",
    2255                 "reference": "c8409889fdbf48b99271930ea0ebcf3ee5e1ceae",
     2254                "reference": "8c946c5c1d1692d5378cb722060969730cebc96d"
     2255            },
     2256            "dist": {
     2257                "type": "zip",
     2258                "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8c946c5c1d1692d5378cb722060969730cebc96d",
     2259                "reference": "8c946c5c1d1692d5378cb722060969730cebc96d",
    22562260                "shasum": ""
    22572261            },
     
    23132317            "homepage": "https://symfony.com",
    23142318            "support": {
    2315                 "source": "https://github.com/symfony/dependency-injection/tree/v5.4.42"
     2319                "source": "https://github.com/symfony/dependency-injection/tree/v5.4.43"
    23162320            },
    23172321            "funding": [
     
    23292333                }
    23302334            ],
    2331             "time": "2024-07-25T13:57:40+00:00"
     2335            "time": "2024-08-27T00:56:45+00:00"
    23322336        },
    23332337        {
     
    24672471        {
    24682472            "name": "symfony/finder",
    2469             "version": "v5.4.42",
     2473            "version": "v5.4.43",
    24702474            "source": {
    24712475                "type": "git",
    24722476                "url": "https://github.com/symfony/finder.git",
    2473                 "reference": "0724c51fa067b198e36506d2864e09a52180998a"
    2474             },
    2475             "dist": {
    2476                 "type": "zip",
    2477                 "url": "https://api.github.com/repos/symfony/finder/zipball/0724c51fa067b198e36506d2864e09a52180998a",
    2478                 "reference": "0724c51fa067b198e36506d2864e09a52180998a",
     2477                "reference": "ae25a9145a900764158d439653d5630191155ca0"
     2478            },
     2479            "dist": {
     2480                "type": "zip",
     2481                "url": "https://api.github.com/repos/symfony/finder/zipball/ae25a9145a900764158d439653d5630191155ca0",
     2482                "reference": "ae25a9145a900764158d439653d5630191155ca0",
    24792483                "shasum": ""
    24802484            },
     
    25102514            "homepage": "https://symfony.com",
    25112515            "support": {
    2512                 "source": "https://github.com/symfony/finder/tree/v5.4.42"
     2516                "source": "https://github.com/symfony/finder/tree/v5.4.43"
    25132517            },
    25142518            "funding": [
     
    25262530                }
    25272531            ],
    2528             "time": "2024-07-22T08:53:29+00:00"
     2532            "time": "2024-08-13T14:03:51+00:00"
    25292533        },
    25302534        {
     
    31633167        {
    31643168            "name": "symfony/string",
    3165             "version": "v5.4.42",
     3169            "version": "v5.4.43",
    31663170            "source": {
    31673171                "type": "git",
    31683172                "url": "https://github.com/symfony/string.git",
    3169                 "reference": "909cec913edea162a3b2836788228ad45fcab337"
    3170             },
    3171             "dist": {
    3172                 "type": "zip",
    3173                 "url": "https://api.github.com/repos/symfony/string/zipball/909cec913edea162a3b2836788228ad45fcab337",
    3174                 "reference": "909cec913edea162a3b2836788228ad45fcab337",
     3173                "reference": "8be1d484951ff5ca995eaf8edcbcb8b9a5888450"
     3174            },
     3175            "dist": {
     3176                "type": "zip",
     3177                "url": "https://api.github.com/repos/symfony/string/zipball/8be1d484951ff5ca995eaf8edcbcb8b9a5888450",
     3178                "reference": "8be1d484951ff5ca995eaf8edcbcb8b9a5888450",
    31753179                "shasum": ""
    31763180            },
     
    32293233            ],
    32303234            "support": {
    3231                 "source": "https://github.com/symfony/string/tree/v5.4.42"
     3235                "source": "https://github.com/symfony/string/tree/v5.4.43"
    32323236            },
    32333237            "funding": [
     
    32453249                }
    32463250            ],
    3247             "time": "2024-07-20T18:38:32+00:00"
     3251            "time": "2024-08-01T10:24:28+00:00"
    32483252        },
    32493253        {
  • pressidium-cookie-consent/tags/1.5.2/includes/Client/Cookie_Consent.php

    r3131094 r3148044  
    207207            .pressidium-cc-theme {
    208208                <?php
    209                 $font_slug   = $this->settings['pressidium_options']['font']['slug'];
    210                 $font_family = $this->settings['pressidium_options']['font']['family'];
     209                $font_slug   = $this->settings['pressidium_options']['font']['slug'] ?? 'default';
     210                $font_family = $this->settings['pressidium_options']['font']['family'] ?? 'inherit';
    211211
    212212                if ( $font_slug !== 'default' ) {
  • pressidium-cookie-consent/tags/1.5.2/includes/Plugin.php

    r3056302 r3148044  
    174174        $container->add( 'settings', $settings );
    175175
     176        $upgrader = new Upgrader( $this->logger, $settings );
     177        $container->add( 'upgrader', $upgrader );
     178
    176179        $this->add_service_providers( $container );
    177180        $this->register_tables( $database_manager, $container );
    178181        $this->register_hooks( $hooks_manager, $container );
     182
     183        /*
     184         * Run the upgrader on every request to check if the plugin was upgraded
     185         * and if so, migrate the settings to the latest version and resave them.
     186         */
     187        $upgrader->maybe_upgrade();
    179188    }
    180189
  • pressidium-cookie-consent/tags/1.5.2/pressidium-cookie-consent.php

    r3131094 r3148044  
    44 * Plugin URI: https://github.com/pressidium/pressidium-cookie-consent/
    55 * Description: Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
    6  * Version: 1.5.1
     6 * Version: 1.5.2
    77 * Author: Pressidium
    88 * Author URI: https://pressidium.com/
     
    2828function setup_constants(): void {
    2929    if ( ! defined( 'Pressidium\WP\CookieConsent\VERSION' ) ) {
    30         define( 'Pressidium\WP\CookieConsent\VERSION', '1.5.1' );
     30        define( 'Pressidium\WP\CookieConsent\VERSION', '1.5.2' );
    3131    }
    3232
  • pressidium-cookie-consent/tags/1.5.2/readme.txt

    r3131094 r3148044  
    77Tested up to: 6.6
    88Requires PHP: 7.4
    9 Stable Tag: 1.5.1
     9Stable Tag: 1.5.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    174174== Changelog ==
    175175
    176 = 1.5.1: Aug 5, 2023 =
     176= 1.5.2: Sep 7, 2024 =
     177
     178* Fix an issue where settings didn't automatically migrate from the previous version, requiring users to manually save them
     179
     180= 1.5.1: Aug 5, 2024 =
    177181
    178182* Add a notice to warn users for potential issues with specific configurations
     
    187191* Fix an issue where the consent records table schema was not being updated correctly
    188192
    189 = 1.5.0: Jul 30, 2023 =
     193= 1.5.0: Jul 30, 2024 =
    190194
    191195* Add a “Font” option to select one of the fonts that you have installed via the Font Library (WordPress 6.5+)
     
    197201* Tabs panel in the settings page is now responsive and will scroll horizontally on smaller screens
    198202
    199 = 1.4.0: Mar 21, 2023 =
     203= 1.4.0: Mar 21, 2024 =
    200204
    201205* Introduce a new “Preferences” cookies category
  • pressidium-cookie-consent/tags/1.5.2/vendor/composer/autoload_classmap.php

    r3056302 r3148044  
    8484    'Pressidium\\WP\\CookieConsent\\Sanitizer' => $baseDir . '/includes/Sanitizer.php',
    8585    'Pressidium\\WP\\CookieConsent\\Settings' => $baseDir . '/includes/Settings.php',
     86    'Pressidium\\WP\\CookieConsent\\Upgrader' => $baseDir . '/includes/Upgrader.php',
    8687    'Pressidium\\WP\\CookieConsent\\Utils' => $baseDir . '/includes/Utils.php',
    8788);
  • pressidium-cookie-consent/tags/1.5.2/vendor/composer/autoload_static.php

    r3056302 r3148044  
    9999        'Pressidium\\WP\\CookieConsent\\Sanitizer' => __DIR__ . '/../..' . '/includes/Sanitizer.php',
    100100        'Pressidium\\WP\\CookieConsent\\Settings' => __DIR__ . '/../..' . '/includes/Settings.php',
     101        'Pressidium\\WP\\CookieConsent\\Upgrader' => __DIR__ . '/../..' . '/includes/Upgrader.php',
    101102        'Pressidium\\WP\\CookieConsent\\Utils' => __DIR__ . '/../..' . '/includes/Utils.php',
    102103    );
  • pressidium-cookie-consent/tags/1.5.2/vendor/composer/installed.php

    r3131094 r3148044  
    22    'root' => array(
    33        'name' => 'pressidium/pressidium-cookie-consent',
    4         'pretty_version' => '1.5.1',
    5         'version' => '1.5.1.0',
    6         'reference' => '5ca55efa63e5ff4c98eac0f17a2ba30a4f34d647',
     4        'pretty_version' => '1.5.2',
     5        'version' => '1.5.2.0',
     6        'reference' => '0b4749ad1f3f6d69069085b9436ab48b781bcc4a',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'pressidium/pressidium-cookie-consent' => array(
    14             'pretty_version' => '1.5.1',
    15             'version' => '1.5.1.0',
    16             'reference' => '5ca55efa63e5ff4c98eac0f17a2ba30a4f34d647',
     14            'pretty_version' => '1.5.2',
     15            'version' => '1.5.2.0',
     16            'reference' => '0b4749ad1f3f6d69069085b9436ab48b781bcc4a',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • pressidium-cookie-consent/trunk/composer.lock

    r3131094 r3148044  
    228228        {
    229229            "name": "composer/pcre",
    230             "version": "3.2.0",
     230            "version": "3.3.1",
    231231            "source": {
    232232                "type": "git",
    233233                "url": "https://github.com/composer/pcre.git",
    234                 "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90"
    235             },
    236             "dist": {
    237                 "type": "zip",
    238                 "url": "https://api.github.com/repos/composer/pcre/zipball/ea4ab6f9580a4fd221e0418f2c357cdd39102a90",
    239                 "reference": "ea4ab6f9580a4fd221e0418f2c357cdd39102a90",
     234                "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4"
     235            },
     236            "dist": {
     237                "type": "zip",
     238                "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4",
     239                "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4",
    240240                "shasum": ""
    241241            },
     
    244244            },
    245245            "conflict": {
    246                 "phpstan/phpstan": "<1.11.8"
    247             },
    248             "require-dev": {
    249                 "phpstan/phpstan": "^1.11.8",
     246                "phpstan/phpstan": "<1.11.10"
     247            },
     248            "require-dev": {
     249                "phpstan/phpstan": "^1.11.10",
    250250                "phpstan/phpstan-strict-rules": "^1.1",
    251251                "phpunit/phpunit": "^8 || ^9"
     
    287287            "support": {
    288288                "issues": "https://github.com/composer/pcre/issues",
    289                 "source": "https://github.com/composer/pcre/tree/3.2.0"
     289                "source": "https://github.com/composer/pcre/tree/3.3.1"
    290290            },
    291291            "funding": [
     
    303303                }
    304304            ],
    305             "time": "2024-07-25T09:36:02+00:00"
     305            "time": "2024-08-27T18:44:43+00:00"
    306306        },
    307307        {
     
    639639        {
    640640            "name": "fidry/cpu-core-counter",
    641             "version": "1.1.0",
     641            "version": "1.2.0",
    642642            "source": {
    643643                "type": "git",
    644644                "url": "https://github.com/theofidry/cpu-core-counter.git",
    645                 "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42"
    646             },
    647             "dist": {
    648                 "type": "zip",
    649                 "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42",
    650                 "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42",
     645                "reference": "8520451a140d3f46ac33042715115e290cf5785f"
     646            },
     647            "dist": {
     648                "type": "zip",
     649                "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f",
     650                "reference": "8520451a140d3f46ac33042715115e290cf5785f",
    651651                "shasum": ""
    652652            },
     
    688688            "support": {
    689689                "issues": "https://github.com/theofidry/cpu-core-counter/issues",
    690                 "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0"
     690                "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0"
    691691            },
    692692            "funding": [
     
    696696                }
    697697            ],
    698             "time": "2024-02-07T09:43:46+00:00"
     698            "time": "2024-08-06T10:04:20+00:00"
    699699        },
    700700        {
     
    16091609        {
    16101610            "name": "phpstan/extension-installer",
    1611             "version": "1.4.1",
     1611            "version": "1.4.3",
    16121612            "source": {
    16131613                "type": "git",
    16141614                "url": "https://github.com/phpstan/extension-installer.git",
    1615                 "reference": "f6b87faf9fc7978eab2f7919a8760bc9f58f9203"
    1616             },
    1617             "dist": {
    1618                 "type": "zip",
    1619                 "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/f6b87faf9fc7978eab2f7919a8760bc9f58f9203",
    1620                 "reference": "f6b87faf9fc7978eab2f7919a8760bc9f58f9203",
     1615                "reference": "85e90b3942d06b2326fba0403ec24fe912372936"
     1616            },
     1617            "dist": {
     1618                "type": "zip",
     1619                "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/85e90b3942d06b2326fba0403ec24fe912372936",
     1620                "reference": "85e90b3942d06b2326fba0403ec24fe912372936",
    16211621                "shasum": ""
    16221622            },
     
    16241624                "composer-plugin-api": "^2.0",
    16251625                "php": "^7.2 || ^8.0",
    1626                 "phpstan/phpstan": "^1.9.0"
     1626                "phpstan/phpstan": "^1.9.0 || ^2.0"
    16271627            },
    16281628            "require-dev": {
     
    16451645            ],
    16461646            "description": "Composer plugin for automatic installation of PHPStan extensions",
     1647            "keywords": [
     1648                "dev",
     1649                "static analysis"
     1650            ],
    16471651            "support": {
    16481652                "issues": "https://github.com/phpstan/extension-installer/issues",
    1649                 "source": "https://github.com/phpstan/extension-installer/tree/1.4.1"
    1650             },
    1651             "time": "2024-06-10T08:20:49+00:00"
     1653                "source": "https://github.com/phpstan/extension-installer/tree/1.4.3"
     1654            },
     1655            "time": "2024-09-04T20:21:43+00:00"
    16521656        },
    16531657        {
    16541658            "name": "phpstan/phpdoc-parser",
    1655             "version": "1.29.1",
     1659            "version": "1.30.0",
    16561660            "source": {
    16571661                "type": "git",
    16581662                "url": "https://github.com/phpstan/phpdoc-parser.git",
    1659                 "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4"
    1660             },
    1661             "dist": {
    1662                 "type": "zip",
    1663                 "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fcaefacf2d5c417e928405b71b400d4ce10daaf4",
    1664                 "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4",
     1663                "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f"
     1664            },
     1665            "dist": {
     1666                "type": "zip",
     1667                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5ceb0e384997db59f38774bf79c2a6134252c08f",
     1668                "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f",
    16651669                "shasum": ""
    16661670            },
     
    16941698            "support": {
    16951699                "issues": "https://github.com/phpstan/phpdoc-parser/issues",
    1696                 "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.1"
    1697             },
    1698             "time": "2024-05-31T08:52:43+00:00"
     1700                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.0"
     1701            },
     1702            "time": "2024-08-29T09:54:52+00:00"
    16991703        },
    17001704        {
    17011705            "name": "phpstan/phpstan",
    1702             "version": "1.11.9",
     1706            "version": "1.12.2",
    17031707            "source": {
    17041708                "type": "git",
    17051709                "url": "https://github.com/phpstan/phpstan.git",
    1706                 "reference": "e370bcddadaede0c1716338b262346f40d296f82"
    1707             },
    1708             "dist": {
    1709                 "type": "zip",
    1710                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e370bcddadaede0c1716338b262346f40d296f82",
    1711                 "reference": "e370bcddadaede0c1716338b262346f40d296f82",
     1710                "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1"
     1711            },
     1712            "dist": {
     1713                "type": "zip",
     1714                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0ca1c7bb55fca8fe6448f16fff0f311ccec960a1",
     1715                "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1",
    17121716                "shasum": ""
    17131717            },
     
    17541758                }
    17551759            ],
    1756             "time": "2024-08-01T16:25:18+00:00"
     1760            "time": "2024-09-05T16:09:28+00:00"
    17571761        },
    17581762        {
     
    21452149        {
    21462150            "name": "symfony/console",
    2147             "version": "v5.4.42",
     2151            "version": "v5.4.43",
    21482152            "source": {
    21492153                "type": "git",
    21502154                "url": "https://github.com/symfony/console.git",
    2151                 "reference": "cef62396a0477e94fc52e87a17c6e5c32e226b7f"
    2152             },
    2153             "dist": {
    2154                 "type": "zip",
    2155                 "url": "https://api.github.com/repos/symfony/console/zipball/cef62396a0477e94fc52e87a17c6e5c32e226b7f",
    2156                 "reference": "cef62396a0477e94fc52e87a17c6e5c32e226b7f",
     2155                "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9"
     2156            },
     2157            "dist": {
     2158                "type": "zip",
     2159                "url": "https://api.github.com/repos/symfony/console/zipball/e86f8554de667c16dde8aeb89a3990cfde924df9",
     2160                "reference": "e86f8554de667c16dde8aeb89a3990cfde924df9",
    21572161                "shasum": ""
    21582162            },
     
    22242228            ],
    22252229            "support": {
    2226                 "source": "https://github.com/symfony/console/tree/v5.4.42"
     2230                "source": "https://github.com/symfony/console/tree/v5.4.43"
    22272231            },
    22282232            "funding": [
     
    22402244                }
    22412245            ],
    2242             "time": "2024-07-26T12:21:55+00:00"
     2246            "time": "2024-08-13T16:31:56+00:00"
    22432247        },
    22442248        {
    22452249            "name": "symfony/dependency-injection",
    2246             "version": "v5.4.42",
     2250            "version": "v5.4.43",
    22472251            "source": {
    22482252                "type": "git",
    22492253                "url": "https://github.com/symfony/dependency-injection.git",
    2250                 "reference": "c8409889fdbf48b99271930ea0ebcf3ee5e1ceae"
    2251             },
    2252             "dist": {
    2253                 "type": "zip",
    2254                 "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/c8409889fdbf48b99271930ea0ebcf3ee5e1ceae",
    2255                 "reference": "c8409889fdbf48b99271930ea0ebcf3ee5e1ceae",
     2254                "reference": "8c946c5c1d1692d5378cb722060969730cebc96d"
     2255            },
     2256            "dist": {
     2257                "type": "zip",
     2258                "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8c946c5c1d1692d5378cb722060969730cebc96d",
     2259                "reference": "8c946c5c1d1692d5378cb722060969730cebc96d",
    22562260                "shasum": ""
    22572261            },
     
    23132317            "homepage": "https://symfony.com",
    23142318            "support": {
    2315                 "source": "https://github.com/symfony/dependency-injection/tree/v5.4.42"
     2319                "source": "https://github.com/symfony/dependency-injection/tree/v5.4.43"
    23162320            },
    23172321            "funding": [
     
    23292333                }
    23302334            ],
    2331             "time": "2024-07-25T13:57:40+00:00"
     2335            "time": "2024-08-27T00:56:45+00:00"
    23322336        },
    23332337        {
     
    24672471        {
    24682472            "name": "symfony/finder",
    2469             "version": "v5.4.42",
     2473            "version": "v5.4.43",
    24702474            "source": {
    24712475                "type": "git",
    24722476                "url": "https://github.com/symfony/finder.git",
    2473                 "reference": "0724c51fa067b198e36506d2864e09a52180998a"
    2474             },
    2475             "dist": {
    2476                 "type": "zip",
    2477                 "url": "https://api.github.com/repos/symfony/finder/zipball/0724c51fa067b198e36506d2864e09a52180998a",
    2478                 "reference": "0724c51fa067b198e36506d2864e09a52180998a",
     2477                "reference": "ae25a9145a900764158d439653d5630191155ca0"
     2478            },
     2479            "dist": {
     2480                "type": "zip",
     2481                "url": "https://api.github.com/repos/symfony/finder/zipball/ae25a9145a900764158d439653d5630191155ca0",
     2482                "reference": "ae25a9145a900764158d439653d5630191155ca0",
    24792483                "shasum": ""
    24802484            },
     
    25102514            "homepage": "https://symfony.com",
    25112515            "support": {
    2512                 "source": "https://github.com/symfony/finder/tree/v5.4.42"
     2516                "source": "https://github.com/symfony/finder/tree/v5.4.43"
    25132517            },
    25142518            "funding": [
     
    25262530                }
    25272531            ],
    2528             "time": "2024-07-22T08:53:29+00:00"
     2532            "time": "2024-08-13T14:03:51+00:00"
    25292533        },
    25302534        {
     
    31633167        {
    31643168            "name": "symfony/string",
    3165             "version": "v5.4.42",
     3169            "version": "v5.4.43",
    31663170            "source": {
    31673171                "type": "git",
    31683172                "url": "https://github.com/symfony/string.git",
    3169                 "reference": "909cec913edea162a3b2836788228ad45fcab337"
    3170             },
    3171             "dist": {
    3172                 "type": "zip",
    3173                 "url": "https://api.github.com/repos/symfony/string/zipball/909cec913edea162a3b2836788228ad45fcab337",
    3174                 "reference": "909cec913edea162a3b2836788228ad45fcab337",
     3173                "reference": "8be1d484951ff5ca995eaf8edcbcb8b9a5888450"
     3174            },
     3175            "dist": {
     3176                "type": "zip",
     3177                "url": "https://api.github.com/repos/symfony/string/zipball/8be1d484951ff5ca995eaf8edcbcb8b9a5888450",
     3178                "reference": "8be1d484951ff5ca995eaf8edcbcb8b9a5888450",
    31753179                "shasum": ""
    31763180            },
     
    32293233            ],
    32303234            "support": {
    3231                 "source": "https://github.com/symfony/string/tree/v5.4.42"
     3235                "source": "https://github.com/symfony/string/tree/v5.4.43"
    32323236            },
    32333237            "funding": [
     
    32453249                }
    32463250            ],
    3247             "time": "2024-07-20T18:38:32+00:00"
     3251            "time": "2024-08-01T10:24:28+00:00"
    32483252        },
    32493253        {
  • pressidium-cookie-consent/trunk/includes/Client/Cookie_Consent.php

    r3131094 r3148044  
    207207            .pressidium-cc-theme {
    208208                <?php
    209                 $font_slug   = $this->settings['pressidium_options']['font']['slug'];
    210                 $font_family = $this->settings['pressidium_options']['font']['family'];
     209                $font_slug   = $this->settings['pressidium_options']['font']['slug'] ?? 'default';
     210                $font_family = $this->settings['pressidium_options']['font']['family'] ?? 'inherit';
    211211
    212212                if ( $font_slug !== 'default' ) {
  • pressidium-cookie-consent/trunk/includes/Plugin.php

    r3056302 r3148044  
    174174        $container->add( 'settings', $settings );
    175175
     176        $upgrader = new Upgrader( $this->logger, $settings );
     177        $container->add( 'upgrader', $upgrader );
     178
    176179        $this->add_service_providers( $container );
    177180        $this->register_tables( $database_manager, $container );
    178181        $this->register_hooks( $hooks_manager, $container );
     182
     183        /*
     184         * Run the upgrader on every request to check if the plugin was upgraded
     185         * and if so, migrate the settings to the latest version and resave them.
     186         */
     187        $upgrader->maybe_upgrade();
    179188    }
    180189
  • pressidium-cookie-consent/trunk/pressidium-cookie-consent.php

    r3131094 r3148044  
    44 * Plugin URI: https://github.com/pressidium/pressidium-cookie-consent/
    55 * Description: Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
    6  * Version: 1.5.1
     6 * Version: 1.5.2
    77 * Author: Pressidium
    88 * Author URI: https://pressidium.com/
     
    2828function setup_constants(): void {
    2929    if ( ! defined( 'Pressidium\WP\CookieConsent\VERSION' ) ) {
    30         define( 'Pressidium\WP\CookieConsent\VERSION', '1.5.1' );
     30        define( 'Pressidium\WP\CookieConsent\VERSION', '1.5.2' );
    3131    }
    3232
  • pressidium-cookie-consent/trunk/readme.txt

    r3131094 r3148044  
    77Tested up to: 6.6
    88Requires PHP: 7.4
    9 Stable Tag: 1.5.1
     9Stable Tag: 1.5.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    174174== Changelog ==
    175175
    176 = 1.5.1: Aug 5, 2023 =
     176= 1.5.2: Sep 7, 2024 =
     177
     178* Fix an issue where settings didn't automatically migrate from the previous version, requiring users to manually save them
     179
     180= 1.5.1: Aug 5, 2024 =
    177181
    178182* Add a notice to warn users for potential issues with specific configurations
     
    187191* Fix an issue where the consent records table schema was not being updated correctly
    188192
    189 = 1.5.0: Jul 30, 2023 =
     193= 1.5.0: Jul 30, 2024 =
    190194
    191195* Add a “Font” option to select one of the fonts that you have installed via the Font Library (WordPress 6.5+)
     
    197201* Tabs panel in the settings page is now responsive and will scroll horizontally on smaller screens
    198202
    199 = 1.4.0: Mar 21, 2023 =
     203= 1.4.0: Mar 21, 2024 =
    200204
    201205* Introduce a new “Preferences” cookies category
  • pressidium-cookie-consent/trunk/vendor/composer/autoload_classmap.php

    r3056302 r3148044  
    8484    'Pressidium\\WP\\CookieConsent\\Sanitizer' => $baseDir . '/includes/Sanitizer.php',
    8585    'Pressidium\\WP\\CookieConsent\\Settings' => $baseDir . '/includes/Settings.php',
     86    'Pressidium\\WP\\CookieConsent\\Upgrader' => $baseDir . '/includes/Upgrader.php',
    8687    'Pressidium\\WP\\CookieConsent\\Utils' => $baseDir . '/includes/Utils.php',
    8788);
  • pressidium-cookie-consent/trunk/vendor/composer/autoload_static.php

    r3056302 r3148044  
    9999        'Pressidium\\WP\\CookieConsent\\Sanitizer' => __DIR__ . '/../..' . '/includes/Sanitizer.php',
    100100        'Pressidium\\WP\\CookieConsent\\Settings' => __DIR__ . '/../..' . '/includes/Settings.php',
     101        'Pressidium\\WP\\CookieConsent\\Upgrader' => __DIR__ . '/../..' . '/includes/Upgrader.php',
    101102        'Pressidium\\WP\\CookieConsent\\Utils' => __DIR__ . '/../..' . '/includes/Utils.php',
    102103    );
  • pressidium-cookie-consent/trunk/vendor/composer/installed.php

    r3131094 r3148044  
    22    'root' => array(
    33        'name' => 'pressidium/pressidium-cookie-consent',
    4         'pretty_version' => '1.5.1',
    5         'version' => '1.5.1.0',
    6         'reference' => '5ca55efa63e5ff4c98eac0f17a2ba30a4f34d647',
     4        'pretty_version' => '1.5.2',
     5        'version' => '1.5.2.0',
     6        'reference' => '0b4749ad1f3f6d69069085b9436ab48b781bcc4a',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'pressidium/pressidium-cookie-consent' => array(
    14             'pretty_version' => '1.5.1',
    15             'version' => '1.5.1.0',
    16             'reference' => '5ca55efa63e5ff4c98eac0f17a2ba30a4f34d647',
     14            'pretty_version' => '1.5.2',
     15            'version' => '1.5.2.0',
     16            'reference' => '0b4749ad1f3f6d69069085b9436ab48b781bcc4a',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.