Skip to content
Open

2.0.0 #203

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
d59976f
(#50) Migrate to vanilla-cookieconsent v3
over-engineer May 7, 2026
250f660
Bump version to 2.0.0
over-engineer May 7, 2026
7deba01
Fix comment
over-engineer May 7, 2026
13776b6
Update README
over-engineer May 7, 2026
d8fe4e9
Merge branch 'v3-migration#50' into next
over-engineer May 7, 2026
338b3b3
(#187) Apply sticky positioning to the settings footer
over-engineer May 7, 2026
2801896
(#197) (#199) Add settings and docs links to plugin actions
over-engineer May 7, 2026
179f10f
(#192) Escape inline styles output
over-engineer May 7, 2026
dc3cc2f
(#196) Update database abstraction to support indexes
over-engineer May 7, 2026
25509c7
(#196) Add indexes to `pressidium_cookie_consents`
over-engineer May 7, 2026
f71e8ae
(#196) Rename `includes/Database/index.php`
over-engineer May 7, 2026
73f2a5c
(#195) Introduce a PSR-16 compliant object-oriented Transinet API wra…
over-engineer May 7, 2026
f589614
(#190) Bump `pressidium/cookies` block API version to 3
over-engineer May 8, 2026
a0dc7c5
(#202) Only record consent the first time and when something changes
over-engineer May 8, 2026
2c733a7
(#200) Add backwards-compatible `allowedCategory()` shim
over-engineer May 8, 2026
2acd16a
(#195) Rate limit requests to `POST /consent`
over-engineer May 8, 2026
9e3b49a
(#50) Rename Google tag gateway options to match new naming scheme
over-engineer May 8, 2026
ecf85a3
(#201) Return `503` response when Google tag gateway proxy is disabled
over-engineer May 8, 2026
a03d80d
Update 2.0.0 changelog
over-engineer May 9, 2026
3e3275c
Add Pressidium Performance meta box to the sidebar
over-engineer May 14, 2026
745ae66
Switch `urlencode()` to `rawurlencode()`
over-engineer May 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
pressidiumCCClientDetails: 'readonly',
pressidiumCCFeedbackDetails: 'readonly',
pressidiumCookiesBlockData: 'readonly',
initCookieConsent: true,
CookieConsent: true,
},
rules: {
'react/react-in-jsx-scope': 'off',
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* [Setup](#setup)
* [Features](#features)
* [Credits](#credits)
* [Contributing](#contributing)
* [License](#license)
* [About Pressidium](#about-pressidium)

Expand Down Expand Up @@ -51,7 +52,7 @@

![Color picker screenshot](./.wordpress-org/screenshot-2.png)

Easily modify the cookie consent banner and settings modal text. Pick one of the built-in color presets to match your website’s aesthetic, or adjust the color of individual components via our convenient color picker. Choose from a variety of layouts, positions, and transitions directly from the WordPress dashboard.
Easily modify the cookie consent banner and preferences modal text. Pick one of the built-in color presets to match your website’s aesthetic, or adjust the color of individual components via our convenient color picker. Choose from a variety of layouts, positions, and transitions directly from the WordPress dashboard.

### 🪶 Lightweight

Expand All @@ -65,11 +66,11 @@ An a11y friendly plugin — fully accessible and WAI-ARIA compliant.

![Translations tab screenshot](./.wordpress-org/screenshot-4.png)

Modify any text in the cookie consent banner and settings modal, and provide translations. Choose the language auto-detection strategy you prefer — either read the user’s browser language or read the markup of the current page to identify its primary language.
Modify any text in the cookie consent banner and preferences modal, and provide translations. Choose the language auto-detection strategy you prefer — either read the user’s browser language or read the markup of the current page to identify its primary language.

### 📱 Responsive

Fully responsive and mobile-friendly cookie consent banner and settings modal.
Fully responsive and mobile-friendly cookie consent banner and preferences modal.

### 🙅 Block scripts

Expand Down Expand Up @@ -127,7 +128,7 @@ Add the **Pressidium Cookies Table** block for the Block Editor to display a dyn

### ⌨️ Control it programmatically

Programmatically control the plugin. Conditionally show/hide the cookie consent banner and/or the settings modal, accept one (or more) cookie categories, erase cookies, load previously blocked scripts, etc.
Programmatically control the plugin. Conditionally show/hide the cookie consent banner and/or the preferences modal, accept one (or more) cookie categories, erase cookies, load previously blocked scripts, etc.

## Credits

Expand Down
18 changes: 18 additions & 0 deletions assets/css/admin-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.plugins .plugin-title .pressidium-action-link {
white-space: nowrap;
}

.plugins .plugin-title .pressidium-action-link .dashicons {
float: none;
padding: 0;
width: inherit;
height: inherit;
}

.plugins .plugin-title .pressidium-action-link .dashicons::before {
padding: inherit;
background-color: inherit;
box-shadow: none;
font-size: inherit;
color: inherit;
}
Binary file added assets/images/performance-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"phpstan/extension-installer": "^1.4",
"coenjacobs/mozart": "^0.7.1",
"league/container": "^3.4",
"psr/simple-cache": "^1.0",
"ext-json": "*",
"psr/log": "^1.1",
"phpcsstandards/phpcsutils": "^1.0",
Expand All @@ -61,6 +62,7 @@
"packages": [
"league/container",
"psr/log",
"psr/simple-cache",
"nyholm/psr7",
"guzzlehttp/guzzle",
"orhanerday/open-ai",
Expand Down
Loading