Plugin Directory

Changeset 3150049


Ignore:
Timestamp:
09/11/2024 12:07:52 PM (19 months ago)
Author:
jamesdlow
Message:

1.0.9

  • Fix PHP 8.X warning
Location:
ai-translate-for-polylang
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • ai-translate-for-polylang/trunk/ai-translate-polylang.php

    r3135951 r3150049  
    44Plugin URI: https://wordpress.org/plugins/ai-translate-polylang/
    55Description: Add auto AI translation caperbility to Polylang
    6 Version: 1.0.8
     6Version: 1.0.9
    77Author: James Low
    88Author URI: http://jameslow.com
     
    131131    public static function translate_field($original, $field = '', $meta = false) {
    132132        $translation = null;
    133         if (get_option('ai_translate_new_post', '0') == '1' && $_GET['new_lang'] && isset($_GET['from_post'])) {
     133        if (get_option('ai_translate_new_post', '0') == '1' && isset($_GET['new_lang']) && $_GET['new_lang'] && isset($_GET['from_post'])) {
    134134            if (!$original || $original != '') {
    135135                $to = sanitize_key($_GET['new_lang']);
  • ai-translate-for-polylang/trunk/readme.txt

    r3135951 r3150049  
    55Requires at least: 3.0
    66Tested up to: 6.6.1
    7 Stable tag: 1.0.8
     7Stable tag: 1.0.9
    88License: MIT
    99License URI: https://opensource.org/licenses/MIT
     
    3434== Changelog ==
    3535
     36= 1.0.9 =
     37* Fix PHP 8.X warning
     38
    3639= 1.0.8 =
    3740* Correctly set author in translated post
Note: See TracChangeset for help on using the changeset viewer.