Plugin Directory

Changeset 3431466


Ignore:
Timestamp:
01/03/2026 06:34:08 AM (7 weeks ago)
Author:
homio13
Message:

Update to version 3.0.10

Location:
calliope/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • calliope/trunk/calliope.php

    r3431447 r3431466  
    44Plugin URI: https://wordpress.org/plugins/calliope/
    55Description: WordPress AI Contents Generator - Automatically generate high-quality content using AI technology
    6 Version: 3.0.9
     6Version: 3.0.10
    77Author: homio13
    88Author URI: https://profiles.wordpress.org/homio13/
  • calliope/trunk/readme-es.txt

    r3431447 r3431466  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.0.9
     7Stable tag: 3.0.10
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    128128== Changelog ==
    129129
     130= 3.0.10 =
     131* 🔧 **Corrección de Errores**: Solucionado el desajuste del nombre de columna de la base de datos (calliope_feeds_id → feeds_id) que causaba fallos en la generación de artículos en algunos entornos
     132
    130133= 3.0.9 =
    131134* 🔧 **Corrección de Errores**: Solucionado el fallo de generación de artículos causado por caracteres UTF-8 de 4 bytes (emojis) en el contenido generado
  • calliope/trunk/readme-ja.txt

    r3431447 r3431466  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.0.9
     7Stable tag: 3.0.10
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    128128== Changelog ==
    129129
     130= 3.0.10 =
     131* 🔧 **バグ修正**: 一部環境で記事生成が失敗するデータベースカラム名の不一致を修正(calliope_feeds_id → feeds_id)
     132
    130133= 3.0.9 =
    131134* 🔧 **バグ修正**: AI生成コンテンツに含まれる4バイトUTF-8文字(絵文字)による記事生成失敗を修正
  • calliope/trunk/readme.txt

    r3431447 r3431466  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.0.9
     7Stable tag: 3.0.10
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    128128== Changelog ==
    129129
     130= 3.0.10 =
     131* 🔧 **Bug Fix**: Fixed database column name mismatch (calliope_feeds_id → feeds_id) causing article generation to fail on some environments
     132
    130133= 3.0.9 =
    131134* 🔧 **Bug Fix**: Fixed article generation failure caused by 4-byte UTF-8 characters (emoji) in generated content
  • calliope/trunk/src/Database/Migration.php

    r3431447 r3431466  
    5959        /// ver3.0.9
    6060        if (!self::is_exist_migrate('3.0.9')) self::mig_3_0_9();
     61        /// ver3.0.10
     62        if (!self::is_exist_migrate('3.0.10')) self::mig_3_0_10();
    6163    }
    6264
     
    534536        Logger::log('migrate ver3.0.9 completed .... ');
    535537    }
     538
     539    /**
     540     * Migration version 3.0.10
     541     * calliope_feeds_scheduleテーブルのカラム名修正(calliope_feeds_id → feeds_id)
     542     */
     543    public static function mig_3_0_10()
     544    {
     545        Logger::log('migrate ver3.0.10 start .... ');
     546
     547        global $wpdb;
     548
     549        // カラム名が calliope_feeds_id の場合、feeds_id にリネーム
     550        $column_exists = $wpdb->get_results(
     551            $wpdb->prepare(
     552                "SHOW COLUMNS FROM %1s LIKE 'calliope_feeds_id'",
     553                Config::TABLE_FEEDS_SCHEDULE
     554            )
     555        );
     556
     557        if (!empty($column_exists)) {
     558            $wpdb->query(
     559                $wpdb->prepare(
     560                    "ALTER TABLE %1s
     561                    CHANGE `calliope_feeds_id` `feeds_id` int(11) DEFAULT NULL COMMENT 'calliope_feedsテーブルのID'",
     562                    Config::TABLE_FEEDS_SCHEDULE
     563                )
     564            );
     565            Logger::log('migrate ver3.0.10 - renamed calliope_feeds_id to feeds_id');
     566        }
     567
     568        self::migrate_history_update('3.0.10');
     569
     570        Logger::log('migrate ver3.0.10 completed .... ');
     571    }
    536572}
Note: See TracChangeset for help on using the changeset viewer.