Plugin Directory

Changeset 3437853


Ignore:
Timestamp:
01/12/2026 03:10:10 PM (3 months ago)
Author:
samukbg
Message:

Tagging version 1.2.6

Location:
post2podcast
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • post2podcast/tags/1.2.6/includes/class-post2podcast-admin.php

    r3437731 r3437853  
    139139    public function register_settings() {
    140140        register_setting('post2podcast_options', 'post2podcast_options', array($this, 'validate_options'));
     141
     142        // One-time cleanup of the old 'text_model' setting.
     143        $options = get_option('post2podcast_options');
     144        if (isset($options['text_model'])) {
     145            unset($options['text_model']);
     146            update_option('post2podcast_options', $options);
     147        }
    141148
    142149        // Section for Subscription and Credits (Moved to top)
  • post2podcast/tags/1.2.6/includes/class-post2podcast-api.php

    r3437318 r3437853  
    265265            if ($self_hosted_enabled) {
    266266                $openai_api_key = $options['openai_api_key'] ?? '';
    267                 $text_model = $options['text_model'] ?? 'qwen3:8b';
    268267                if (empty($this->api_base)) throw new Exception('API Base URL is not configured for self-hosted mode.');
    269268                if (empty($openai_api_key)) throw new Exception('API key is not configured for self-hosted mode.');
     
    817816        $this->api_base = $this->get_api_base_url($options);
    818817        $url = $this->api_base . '/generate-and-wait';
    819         $text_model = isset($options['text_model']) ? $options['text_model'] : 'qwen3:8b';
     818        $text_model = 'qwen3:8b';
    820819
    821820        // Ensure wp_user_email and wp_site_url are not empty
     
    921920        if ($self_hosted_enabled) {
    922921            $openai_api_key_for_job = $options['openai_api_key'] ?? '';
    923             $text_model_for_job = $options['text_model'] ?? 'qwen3:8b';
     922            $text_model_for_job = 'qwen3:8b';
    924923            if (empty($this->api_base) || empty($openai_api_key_for_job)) {
    925924                return new WP_Error('self_host_config_error', 'Self-hosted API Base URL or API key not configured.');
  • post2podcast/tags/1.2.6/post2podcast.php

    r3437731 r3437853  
    44 * Plugin server URI: https://github.com/samukbg/post2podcast-server
    55 * Description: Convert WordPress posts into podcast episodes with AI voices
    6  * Version: 1.2.4
     6 * Version: 1.2.6
    77 * Author: Samuel Bezerra
    88 * Author URI: https://github.com/samukbg
     
    2020
    2121// Define plugin constants
    22 define('POST2PODCAST_VERSION', '1.2.4');
     22define('POST2PODCAST_VERSION', '1.2.6');
    2323define('POST2PODCAST_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2424define('POST2PODCAST_PLUGIN_URL', plugin_dir_url(__FILE__));
  • post2podcast/tags/1.2.6/readme.txt

    r3437731 r3437853  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.2.4
     7Stable tag: 1.2.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    274274== Changelog ==
    275275
     276= 1.2.6 =
     277* IMPROVED: Minor bug fixes and performance improvements.
     278
    276279= 1.2.4 =
    277280* IMPROVED: Minor bug fixes and performance improvements.
  • post2podcast/trunk/includes/class-post2podcast-admin.php

    r3437731 r3437853  
    139139    public function register_settings() {
    140140        register_setting('post2podcast_options', 'post2podcast_options', array($this, 'validate_options'));
     141
     142        // One-time cleanup of the old 'text_model' setting.
     143        $options = get_option('post2podcast_options');
     144        if (isset($options['text_model'])) {
     145            unset($options['text_model']);
     146            update_option('post2podcast_options', $options);
     147        }
    141148
    142149        // Section for Subscription and Credits (Moved to top)
  • post2podcast/trunk/includes/class-post2podcast-api.php

    r3437318 r3437853  
    265265            if ($self_hosted_enabled) {
    266266                $openai_api_key = $options['openai_api_key'] ?? '';
    267                 $text_model = $options['text_model'] ?? 'qwen3:8b';
    268267                if (empty($this->api_base)) throw new Exception('API Base URL is not configured for self-hosted mode.');
    269268                if (empty($openai_api_key)) throw new Exception('API key is not configured for self-hosted mode.');
     
    817816        $this->api_base = $this->get_api_base_url($options);
    818817        $url = $this->api_base . '/generate-and-wait';
    819         $text_model = isset($options['text_model']) ? $options['text_model'] : 'qwen3:8b';
     818        $text_model = 'qwen3:8b';
    820819
    821820        // Ensure wp_user_email and wp_site_url are not empty
     
    921920        if ($self_hosted_enabled) {
    922921            $openai_api_key_for_job = $options['openai_api_key'] ?? '';
    923             $text_model_for_job = $options['text_model'] ?? 'qwen3:8b';
     922            $text_model_for_job = 'qwen3:8b';
    924923            if (empty($this->api_base) || empty($openai_api_key_for_job)) {
    925924                return new WP_Error('self_host_config_error', 'Self-hosted API Base URL or API key not configured.');
  • post2podcast/trunk/post2podcast.php

    r3437731 r3437853  
    44 * Plugin server URI: https://github.com/samukbg/post2podcast-server
    55 * Description: Convert WordPress posts into podcast episodes with AI voices
    6  * Version: 1.2.4
     6 * Version: 1.2.6
    77 * Author: Samuel Bezerra
    88 * Author URI: https://github.com/samukbg
     
    2020
    2121// Define plugin constants
    22 define('POST2PODCAST_VERSION', '1.2.4');
     22define('POST2PODCAST_VERSION', '1.2.6');
    2323define('POST2PODCAST_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2424define('POST2PODCAST_PLUGIN_URL', plugin_dir_url(__FILE__));
  • post2podcast/trunk/readme.txt

    r3437731 r3437853  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.2.4
     7Stable tag: 1.2.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    274274== Changelog ==
    275275
     276= 1.2.6 =
     277* IMPROVED: Minor bug fixes and performance improvements.
     278
    276279= 1.2.4 =
    277280* IMPROVED: Minor bug fixes and performance improvements.
Note: See TracChangeset for help on using the changeset viewer.