diff --git a/gf_pll.php b/gf_pll.php index f4b3e02..f66ccbe 100644 --- a/gf_pll.php +++ b/gf_pll.php @@ -3,7 +3,7 @@ Plugin Name: Translate Gravity Forms x Polylang Plugin URI: https://github.com/siebsie23/gravity-forms-polylang Description: This Wordpress plugin adds form titles, descriptions, field labels, etc, to Polylang string translations -Version: 1.0.0 +Version: 1.0.1 Author: siebsie23 Author URI: https://github.com/siebsie23 License: GPL2GNU General Public License v2.0 @@ -25,7 +25,7 @@ public static function registerStrings(): void $gf_pll->registerStrings(); } - public static function translateStrings($form): mixed + public static function translateStrings($form): array { $gf_pll = new GravityFormsPolylang(); return $gf_pll->translateStrings($form); diff --git a/readme.txt b/readme.txt index b372406..ac0bedf 100644 --- a/readme.txt +++ b/readme.txt @@ -2,23 +2,25 @@ Contributors: siebsie23 Tags: translate, gravityforms, polylang, translation Requires at least: 5.7 -Tested up to: 6.3.1 +Tested up to: 6.6.2 Requires PHP: 7.4 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: GPL2GNU General Public License v2.0 License URI: https://github.com/siebsie23/gravity-forms-polylang/blob/master/LICENSE -Add form titles, descriptions, field labels, etc, to Polylang string translations +Add form titles, descriptions, field labels, etc. to Polylang string translations == Description == -This Wordpress plugin adds form titles, descriptions, field labels, etc, to Polylang string translations - - +This WordPress plugin adds form titles, descriptions, field labels, etc. to Polylang string translations == Installation == Install and activate the plugin. After this, your translatable strings will appear in the "Translations" tab of PolyLang. == Changelog == -1.0.0 -- Fixed 'Undefined array key page' error. -- Updated code styling + += 1.0.1 = +* Fixed PHP Fatal Error on frontend. + += 1.0.0 = +* Fixed "Undefined array key page" error. +* Updated code styling