fix: kein s.w.org-emoji-request + kein weissraum unter dem blocker (v1.4.3)
1) Das Warn-Emoji "⚠" im platzhalter-text loeste WordPress' wp-emoji aus, das die grafik von s.w.org nachlud (drittanbieter-request). Emoji aus den texten entfernt; das warn-dreieck wird jetzt rein per CSS gezeichnet (kein netzwerk). Hinweis: s.w.org ist der WP-emoji-CDN, NICHT Google. 2) Der platzhalter reservierte die hoehe des eingebetteten elements -> bei kuerzerem inhalt entstand weissraum darunter. Hoehen-reservierung entfernt (PHP min-height-style, JS minHeight, CSS min-height:180px) - der content blocker ist jetzt exakt so hoch wie sein eigener inhalt. Die original-masse bleiben als data-attribute fuer das iframe nach einwilligung erhalten. 3) Redundante, partielle de_DE-.po/.mo (mit altem emoji) entfernt - deutsche locales nutzen direkt die deutschen quell-strings. + version 1.4.3 (assets cache-busting). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Plugin Name: GDPR Content Blocker
|
||||
* Plugin URI: https://lucas-orth.de
|
||||
* Description: DSGVO-konformer Consent-Blocker für externe iframes. Lädt Drittinhalte erst nach aktiver Einwilligung.
|
||||
* Version: 1.4.2
|
||||
* Version: 1.4.3
|
||||
* 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.4.2' );
|
||||
define( 'CB_VERSION', '1.4.3' );
|
||||
define( 'CB_FILE', __FILE__ );
|
||||
define( 'CB_DIR', plugin_dir_path( __FILE__ ) );
|
||||
define( 'CB_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
Reference in New Issue
Block a user