diff --git a/README.de.md b/README.de.md index 9eef0f4..38e8687 100644 --- a/README.de.md +++ b/README.de.md @@ -3,7 +3,7 @@ ![PHP 8.0+](https://img.shields.io/badge/PHP-8.0%2B-blue) ![WordPress 6.0+](https://img.shields.io/badge/WordPress-6.0%2B-21759b) ![License: GPL-2.0](https://img.shields.io/badge/License-GPL--2.0--or--later-green) -![Version](https://img.shields.io/badge/Version-1.2.1-orange) +![Version](https://img.shields.io/badge/Version-1.2.2-orange) ![Tests](https://img.shields.io/badge/Tests-158%20passing-brightgreen) 🇬🇧 [English version → README.md](README.md) diff --git a/README.md b/README.md index d157c19..fefc1f3 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![PHP 8.0+](https://img.shields.io/badge/PHP-8.0%2B-blue) ![WordPress 6.0+](https://img.shields.io/badge/WordPress-6.0%2B-21759b) ![License: GPL-2.0](https://img.shields.io/badge/License-GPL--2.0--or--later-green) -![Version](https://img.shields.io/badge/Version-1.2.1-orange) +![Version](https://img.shields.io/badge/Version-1.2.2-orange) ![Tests](https://img.shields.io/badge/Tests-158%20passing-brightgreen) 🇩🇪 [Deutsche Version → README.de.md](README.de.md) diff --git a/brezngeo/brezngeo.php b/brezngeo/brezngeo.php index edce599..938b947 100644 --- a/brezngeo/brezngeo.php +++ b/brezngeo/brezngeo.php @@ -3,7 +3,7 @@ * Plugin Name: BreznGEO * Plugin URI: https://brezngeo.com/ * Description: AI-powered meta descriptions, GEO structured data, and llms.txt for WordPress. - * Version: 1.2.1 + * Version: 1.2.2 * Requires at least: 6.0 * Requires PHP: 8.0 * Author: NoSchmarrn.dev @@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } -define( 'BREZNGEO_VERSION', '1.2.1' ); +define( 'BREZNGEO_VERSION', '1.2.2' ); define( 'BREZNGEO_FILE', __FILE__ ); define( 'BREZNGEO_DIR', plugin_dir_path( __FILE__ ) ); define( 'BREZNGEO_URL', plugin_dir_url( __FILE__ ) ); diff --git a/brezngeo/includes/Core.php b/brezngeo/includes/Core.php index d62f8db..b21a85d 100644 --- a/brezngeo/includes/Core.php +++ b/brezngeo/includes/Core.php @@ -16,6 +16,7 @@ class Core { } public function init(): void { + load_plugin_textdomain( 'brezngeo', false, dirname( plugin_basename( BREZNGEO_FILE ) ) . '/languages' ); $this->load_dependencies(); $this->register_hooks(); } diff --git a/brezngeo/readme.txt b/brezngeo/readme.txt index fabd71e..4323b03 100644 --- a/brezngeo/readme.txt +++ b/brezngeo/readme.txt @@ -3,7 +3,7 @@ Contributors: mifupadev Tags: seo, ai, meta description, schema, llms.txt Requires at least: 6.0 Tested up to: 6.9 -Stable tag: 1.2.1 +Stable tag: 1.2.2 Requires PHP: 8.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -224,6 +224,9 @@ No data is transmitted during normal page loads or to visitors. == Changelog == += 1.2.2 = +* i18n: Added explicit load_plugin_textdomain() call for reliable translation loading on ClassicPress and other WordPress derivatives. + = 1.2.1 = * Security: Added ABSPATH direct access guards to all PHP class files. * i18n: Complete German translation — all 394 UI strings now translated. @@ -265,6 +268,9 @@ No data is transmitted during normal page loads or to visitors. == Upgrade Notice == += 1.2.2 = +Fixes translation loading on ClassicPress and other WordPress derivatives. + = 1.2.1 = Adds ABSPATH security guards to all files and completes German translation.