Plugin Directory

Changeset 3412668


Ignore:
Timestamp:
12/05/2025 09:59:28 PM (4 months ago)
Author:
aamirfaiz
Message:

Release 1.4.26 - Removed all specific AI provider mentions from descriptions and error messages

Location:
alt-text-pro
Files:
3 edited
11 copied

Legend:

Unmodified
Added
Removed
  • alt-text-pro/tags/1.4.26/alt-text-pro.php

    r3412665 r3412668  
    44 * Plugin URI: https://www.alt-text.pro
    55 * Description: Automatically generate professional alt-text for your images using AI. Improve accessibility and SEO with our powerful SaaS integration.
    6  * Version: 1.4.25
     6 * Version: 1.4.26
    77 * Author: Alt Text Pro
    88 * Author URI: https://www.alt-text.pro/about
     
    2121
    2222// Define plugin constants
    23 define('ALT_TEXT_PRO_VERSION', '1.4.25'); // Version 1.4.25
     23define('ALT_TEXT_PRO_VERSION', '1.4.26'); // Version 1.4.26
    2424define('ALT_TEXT_PRO_PLUGIN_URL', plugin_dir_url(__FILE__));
    2525define('ALT_TEXT_PRO_PLUGIN_PATH', plugin_dir_path(__FILE__));
  • alt-text-pro/tags/1.4.26/includes/class-api-client.php

    r3412663 r3412668  
    179179        }
    180180       
    181         // Check file size (Gemini API limit is ~20MB, but base64 increases size by ~33%)
     181        // Check file size (API limit is ~20MB, but base64 increases size by ~33%)
    182182        // So we limit to ~15MB raw file size to be safe
    183183        $file_size = filesize($file_path);
     
    377377            }
    378378           
    379             // Handle specific Gemini API errors
    380             if (stripos($error_message, 'Gemini API') !== false || stripos($error_message, 'empty response') !== false) {
    381                 $error_message = esc_html__('Gemini AI service returned an empty response. This may be due to image content restrictions or API limitations. Please try again or use a different image.', 'alt-text-pro');
     379            // Handle specific API errors
     380            if (stripos($error_message, 'API') !== false || stripos($error_message, 'empty response') !== false) {
     381                $error_message = esc_html__('AI service returned an empty response. This may be due to image content restrictions or API limitations. Please try again or use a different image.', 'alt-text-pro');
    382382            }
    383383           
  • alt-text-pro/tags/1.4.26/readme.txt

    r3412665 r3412668  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.4.25
     7Stable tag: 1.4.26
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1717### Key Features
    1818
    19 * **AI-Powered Generation**: Uses Google Gemini AI to create accurate, descriptive alt-text
     19* **AI-Powered Generation**: Uses advanced AI to create accurate, descriptive alt-text
    2020* **Automatic Processing**: Generate alt-text automatically when uploading images
    2121* **Bulk Processing**: Process hundreds of existing images at once
     
    143143
    144144== Changelog ==
     145
     146= 1.4.26 =
     147* Removed all specific AI provider mentions from descriptions and error messages
    145148
    146149= 1.4.25 =
     
    280283* Enhanced debug logging to show exact URLs
    281284* Better error handling for 404 responses
    282 * AI-powered alt-text generation using Google Gemini
     285* AI-powered alt-text generation using advanced AI technology
    283286* Automatic processing on image upload
    284287* Bulk processing for existing images
  • alt-text-pro/trunk/alt-text-pro.php

    r3412665 r3412668  
    44 * Plugin URI: https://www.alt-text.pro
    55 * Description: Automatically generate professional alt-text for your images using AI. Improve accessibility and SEO with our powerful SaaS integration.
    6  * Version: 1.4.25
     6 * Version: 1.4.26
    77 * Author: Alt Text Pro
    88 * Author URI: https://www.alt-text.pro/about
     
    2121
    2222// Define plugin constants
    23 define('ALT_TEXT_PRO_VERSION', '1.4.25'); // Version 1.4.25
     23define('ALT_TEXT_PRO_VERSION', '1.4.26'); // Version 1.4.26
    2424define('ALT_TEXT_PRO_PLUGIN_URL', plugin_dir_url(__FILE__));
    2525define('ALT_TEXT_PRO_PLUGIN_PATH', plugin_dir_path(__FILE__));
  • alt-text-pro/trunk/includes/class-api-client.php

    r3412663 r3412668  
    179179        }
    180180       
    181         // Check file size (Gemini API limit is ~20MB, but base64 increases size by ~33%)
     181        // Check file size (API limit is ~20MB, but base64 increases size by ~33%)
    182182        // So we limit to ~15MB raw file size to be safe
    183183        $file_size = filesize($file_path);
     
    377377            }
    378378           
    379             // Handle specific Gemini API errors
    380             if (stripos($error_message, 'Gemini API') !== false || stripos($error_message, 'empty response') !== false) {
    381                 $error_message = esc_html__('Gemini AI service returned an empty response. This may be due to image content restrictions or API limitations. Please try again or use a different image.', 'alt-text-pro');
     379            // Handle specific API errors
     380            if (stripos($error_message, 'API') !== false || stripos($error_message, 'empty response') !== false) {
     381                $error_message = esc_html__('AI service returned an empty response. This may be due to image content restrictions or API limitations. Please try again or use a different image.', 'alt-text-pro');
    382382            }
    383383           
  • alt-text-pro/trunk/readme.txt

    r3412665 r3412668  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.4.25
     7Stable tag: 1.4.26
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1717### Key Features
    1818
    19 * **AI-Powered Generation**: Uses Google Gemini AI to create accurate, descriptive alt-text
     19* **AI-Powered Generation**: Uses advanced AI to create accurate, descriptive alt-text
    2020* **Automatic Processing**: Generate alt-text automatically when uploading images
    2121* **Bulk Processing**: Process hundreds of existing images at once
     
    143143
    144144== Changelog ==
     145
     146= 1.4.26 =
     147* Removed all specific AI provider mentions from descriptions and error messages
    145148
    146149= 1.4.25 =
     
    280283* Enhanced debug logging to show exact URLs
    281284* Better error handling for 404 responses
    282 * AI-powered alt-text generation using Google Gemini
     285* AI-powered alt-text generation using advanced AI technology
    283286* Automatic processing on image upload
    284287* Bulk processing for existing images
Note: See TracChangeset for help on using the changeset viewer.