WP Manifestindependent plugin directory
manifest / privacy / gfw-consent

FISHWINK Consent WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

FISHWINK Cookie Consent Plugin

★ 0stars
56release downloads
v1.0.16latest · 4mo ago

Install

Download gfw-consent-1.0.16.zip From the v1.0.16 release on GitHub, Jun 2, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/fishwink/gfw-consent/releases/download/v1.0.16/gfw-consent-1.0.16.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

Lightweight WordPress cookie consent plugin for FISHWINK (GoFishWink) client sites. The slug, option keys, and REST routes remain gfw-consent / gfw_consent for backwards compatibility with existing installs — only user-facing labels carry the FISHWINK name.

What it does

  • Blocks known marketing/analytics/functional scripts at PHP render time via output buffering, so nothing fires until the visitor consents.
  • Swaps blocked iframes (YouTube, Vimeo, Maps) with click-to-load placeholders.
  • Injects Google Consent Mode v2 defaults (denied) and pushes consent update when the user decides.
  • Honors the Global Privacy Control browser signal.
  • Logs every consent event (accept/reject/custom/withdraw/gpc_auto) to a custom DB table with hashed IP, policy version, categories, and URL — a demonstrable audit trail.
  • Auto-generates a cookie policy via [gfw_consent_policy] based on services actually detected by a daily site scan.
  • Branded via CSS variables — primary color, background, text, border, radius, font, layout (bar/box), position.
  • Designed to stay compatible with LiteSpeed Cache, Cloudflare, and full-page caching (all visitors get the same cached HTML; banner state is client-side).
  • Deployed via GitHub + Plugin Update Checker for centralized updates across all client sites.

Install

  1. Download the ZIP from the latest GitHub release or build locally: zip -r gfw-consent.zip gfw-consent/.
  2. In WordPress admin: Plugins → Add New → Upload Plugin.
  3. Activate.
  4. Drop the Plugin Update Checker library into lib/plugin-update-checker/ (see below).
  5. Go to Consent in the admin sidebar and configure.

Plugin Update Checker setup

The main plugin file loads PUC v5 from lib/plugin-update-checker/plugin-update-checker.php. To enable centralized GitHub updates:

  1. Download Plugin Update Checker: https://github.com/YahnisElsts/plugin-update-checker
  2. Extract the plugin-update-checker-5.x folder into this plugin's /lib/ directory and rename it to plugin-update-checker.
  3. In gfw-consent.php, update the GitHub URL to your repo.
  4. (Optional) For a private repo, uncomment the setAuthentication() line and supply a GitHub PAT.
  5. Push a tagged release to GitHub. WP admin will show the update within ~12 hours or on manual "Check Again".

Shortcodes

Shortcode Purpose
[gfw_consent_policy] Full cookie policy page. Place on /cookie-policy.
[gfw_consent_preferences label="Cookie preferences"] Button / link to reopen the preferences modal. Place in footer.

JavaScript API

For theme or custom code:

GFWConsentAPI.openPreferences();  // Opens the preferences modal
GFWConsentAPI.getState();         // Returns { id, c: [categories], v, t }
GFWConsentAPI.withdraw();         // Resets consent to "reject all"

Listen for consent changes:

document.addEventListener('gfw:consent', function (e) {
    // e.detail = { id, c: ['analytics', ...], v, t }
});

Adding new services to the catalog

Services live in includes/class-gfw-consent-services.php. Each entry needs:

'service-slug' => array(
    'name'      => 'Display Name',
    'vendor'    => 'Vendor Inc.',
    'category'  => 'marketing',       // essential | functional | analytics | marketing
    'patterns'  => array( 'cdn.example.com/tracker.js' ),
    'cookies'   => array( '_svc_*' ),
    'privacy'   => 'https://example.com/privacy',
    'purpose'   => 'One-sentence plain-English purpose.',
    'retention' => 'Up to 1 year',
),

patterns are plain substrings matched case-insensitively against both `

Releases

9 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.16 latest
Jun 2, 2026 4mo ago
gfw-consent-1.0.16.zip
16
Apr 23, 2026 6mo ago
gfw-consent-1.0.14.zip
19
Apr 22, 2026 6mo ago
gfw-consent-1.0.13.zip
1
Apr 22, 2026 6mo ago
gfw-consent-1.0.12.zip
12
Apr 22, 2026 6mo ago
gfw-consent-1.0.11.zip
3
Apr 22, 2026 6mo ago
gfw-consent-1.0.10.zip
0
Apr 22, 2026 6mo ago
gfw-consent-1.0.9.zip
2
Apr 22, 2026 6mo ago
gfw-consent-1.0.8.zip
2
Apr 22, 2026 6mo ago
gfw-consent-1.0.7.zip
1
A grade

Security

FISHWINK Consent 1.0.16 · audited by WP Registry

No security issues found.

Audited release
1.0.16
Findings
none
Worst severity
—
Content hash
3fb959ed4285f32734dbe19f…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.