3 Commits
1.0.0 ... 1.0.5

Author SHA1 Message Date
root
077cf2fd4c Release 1.0.5 2026-04-14 16:27:18 +02:00
root
1354307bb5 Release 1.0.4 2026-04-14 16:11:29 +02:00
root
518b311031 Release 1.0.1 2026-04-14 16:04:20 +02:00

View File

@@ -3,9 +3,14 @@
* Plugin Name: KGV Cookie * Plugin Name: KGV Cookie
* Plugin URI: https://apex-project.de/ * Plugin URI: https://apex-project.de/
* Description: Einfaches Cookie-Banner mit Einwilligungsverwaltung fuer KGV-Webseiten. * Description: Einfaches Cookie-Banner mit Einwilligungsverwaltung fuer KGV-Webseiten.
* Version: 1.0.0 * Version: 1.0.5
* Author: Ronny Grobel * Author: Ronny Grobel
* Text Domain: kgv-cookie * Text Domain: kgv-cookie
* Author URI: https://apex-project.de/
* Plugin URI: https://apex-project.de/
* Update URI: https://git.apex-project.de/Wordpress_Plugins/KGV-Cookie
* Gitea Plugin URI: https://git.apex-project.de/Wordpress_Plugins/KGV-Cookie
* Requires Plugins: KGV-Updater
*/ */
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'ABSPATH' ) ) {
@@ -13,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
} }
final class KGV_Cookie_Plugin { final class KGV_Cookie_Plugin {
const VERSION = '1.0.0'; const VERSION = '1.0.4';
const OPTION_KEY = 'kgv_cookie_settings'; const OPTION_KEY = 'kgv_cookie_settings';
const COOKIE_NAME = 'kgv_cookie_consent'; const COOKIE_NAME = 'kgv_cookie_consent';
@@ -181,7 +186,7 @@ final class KGV_Cookie_Plugin {
<div class="kgv-cookie-banner__text"> <div class="kgv-cookie-banner__text">
<p><?php echo esc_html( $settings['banner_text'] ); ?></p> <p><?php echo esc_html( $settings['banner_text'] ); ?></p>
<?php if ( '' !== $privacy_url ) : ?> <?php if ( '' !== $privacy_url ) : ?>
<p><a href="<?php echo esc_url( $privacy_url ); ?>">Datenschutzerklaerung</a></p> <p><a href="<?php echo esc_url( $privacy_url ); ?>">Datenschutzerklärung</a></p>
<?php endif; ?> <?php endif; ?>
</div> </div>
<div class="kgv-cookie-banner__actions"> <div class="kgv-cookie-banner__actions">