feat: plugin-icon einbinden (auto-erkennung in assets/) (v1.5.1)

CB_Updater::icons() liefert das plugin-icon fuer den Aktualisierungen-screen
und das "Versionsdetails"-popup. Es erkennt automatisch eine icon-datei in
assets/ (icon.svg|png|webp|jpg); ohne datei wird kein icon gesetzt.
Bild wird vom betreiber selbst hinzugefuegt (nicht im repo).

+ version 1.5.1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
s4luorth
2026-06-08 14:18:30 +02:00
parent 2ef1d0769b
commit 6caece78f5
2 changed files with 24 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
<?php
/**
* Plugin Name: GDPR Content Blocker
* Plugin URI: https://lucas-orth.de
* Plugin URI: https://lucas-orth.de/wp-plugins/gdpr-content-blocker/
* Description: DSGVO-konformer Consent-Blocker für externe iframes. Lädt Drittinhalte erst nach aktiver Einwilligung.
* Version: 1.5.0
* Version: 1.5.1
* Author: Lucas Orth
* Author URI: https://lucas-orth.de
* Text Domain: gdpr-content-blocker
@@ -15,7 +15,7 @@
defined( 'ABSPATH' ) || exit;
define( 'CB_VERSION', '1.5.0' );
define( 'CB_VERSION', '1.5.1' );
define( 'CB_FILE', __FILE__ );
define( 'CB_DIR', plugin_dir_path( __FILE__ ) );
define( 'CB_URL', plugin_dir_url( __FILE__ ) );