Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 0 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ on:
- 'composer.lock'
- 'package.json'
- 'package-lock.json'
- 'assets/cookie-notice/**'
- 'tests/js/**'
pull_request:
branches:
Expand All @@ -30,7 +29,6 @@ on:
- 'composer.lock'
- 'package.json'
- 'package-lock.json'
- 'assets/cookie-notice/**'
- 'tests/js/**'
types:
- opened
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Guidelines for AI coding agents working on this WordPress plugin.

**FrontBlocks Site Tools** is a free, all-in-one WordPress plugin covering the everyday needs of a site — not just a block-extension add-on. It bundles Gutenberg/GeneratePress block enhancements alongside general-purpose site utilities: maintenance mode, image management (size control + WebP/AVIF delivery), social login, and more. New features do not need to be block-related to belong here — evaluate additions against "does a typical WordPress site commonly need this," not "is this a block." The PRO companion lives at `wp-content/plugins/frontblocks-pro/`.

**Cookie Notice is deprecated here and moving to FrontConsent** (`wp-content/plugins/frontconsent/`), a dedicated standalone plugin. It still ships and works in FrontBlocks during the transition (see `includes/Frontend/CookieNotice.php` and `includes/Admin/CookieNoticeDeprecationNotice.php`), but do not extend it further — new cookie-consent work belongs in FrontConsent's own `AGENTS.md`. FrontBlocks' module disables itself automatically once FrontConsent is active (`FRCN_VERSION` defined), and FrontConsent migrates the site's settings/stats on activation.
**Cookie Notice has been removed from FrontBlocks and moved to FrontConsent** (`wp-content/plugins/frontconsent/`), a dedicated standalone plugin. This was a deliberate hard cutover, not a transition: the runtime banner, its AJAX consent endpoints, and its GTM/GA4/other tracking integrations no longer exist in this plugin. FrontBlocks only keeps a promo/migration-notice UI (`includes/Admin/Settings.php`'s `render_cookie_notice_promo_tab()` and `includes/Admin/CookieNoticeDeprecationNotice.php`) pointing site owners at FrontConsent. Do not add cookie-consent runtime code back here — new cookie-consent work belongs in FrontConsent's own `AGENTS.md`.

- **PHP minimum:** 7.0
- **WordPress minimum:** 5.8 (required for the image-format-output filters used by Image Management)
Expand Down
37 changes: 0 additions & 37 deletions assets/admin/settings-src.css
Original file line number Diff line number Diff line change
Expand Up @@ -730,43 +730,6 @@

/* Save bar layout/position rules live further down (fixed to the viewport). */

/* Cookie notice live preview: renders the real frontend banner markup/styles
confined to a small "stage" instead of position: fixed over the whole screen. */
.frbl-cookie-notice-preview-stage {
position: relative;
height: 360px;
background: transparent;
}

.frbl-cookie-notice-preview {
position: absolute !important;
z-index: 1 !important;
max-width: calc(100% - 24px);
}

.frbl-cookie-notice-preview.frbl-cookie-notice--bar {
inset: auto 0 0 0;
}

.frbl-cookie-notice-preview.frbl-cookie-notice--box {
bottom: 12px;
}

.frbl-cookie-notice-preview.frbl-cookie-notice--box.frbl-cookie-notice--right {
right: 12px;
}

.frbl-cookie-notice-preview.frbl-cookie-notice--box.frbl-cookie-notice--left {
left: 12px;
}

.frbl-cookie-notice-preview.frbl-cookie-notice--popup {
position: absolute !important;
inset: 0;
background-color: rgba(15, 23, 42, 0.35);
padding: 12px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
.frbl-settings-wrapper {
Expand Down
28 changes: 0 additions & 28 deletions assets/admin/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -1134,34 +1134,6 @@
font-weight: 700;
font-size: 1.125rem;
}
.frbl-cookie-notice-preview-stage {
position: relative;
height: 360px;
background: transparent;
}
.frbl-cookie-notice-preview {
position: absolute !important;
z-index: 1 !important;
max-width: calc(100% - 24px);
}
.frbl-cookie-notice-preview.frbl-cookie-notice--bar {
inset: auto 0 0 0;
}
.frbl-cookie-notice-preview.frbl-cookie-notice--box {
bottom: 12px;
}
.frbl-cookie-notice-preview.frbl-cookie-notice--box.frbl-cookie-notice--right {
right: 12px;
}
.frbl-cookie-notice-preview.frbl-cookie-notice--box.frbl-cookie-notice--left {
left: 12px;
}
.frbl-cookie-notice-preview.frbl-cookie-notice--popup {
position: absolute !important;
inset: 0;
background-color: rgba(15, 23, 42, 0.35);
padding: 12px;
}
@media (max-width: 640px) {
.frbl-settings-wrapper {
margin-left: 0;
Expand Down
Loading
Loading