Changeset 3412668
- Timestamp:
- 12/05/2025 09:59:28 PM (4 months ago)
- Location:
- alt-text-pro
- Files:
-
- 3 edited
- 11 copied
-
tags/1.4.26 (copied) (copied from alt-text-pro/trunk)
-
tags/1.4.26/INSTALLATION.md (copied) (copied from alt-text-pro/trunk/INSTALLATION.md)
-
tags/1.4.26/alt-text-pro.php (copied) (copied from alt-text-pro/trunk/alt-text-pro.php) (2 diffs)
-
tags/1.4.26/assets (copied) (copied from alt-text-pro/trunk/assets)
-
tags/1.4.26/assets/css/admin.css (copied) (copied from alt-text-pro/trunk/assets/css/admin.css)
-
tags/1.4.26/assets/js/admin.js (copied) (copied from alt-text-pro/trunk/assets/js/admin.js)
-
tags/1.4.26/includes (copied) (copied from alt-text-pro/trunk/includes)
-
tags/1.4.26/includes/class-api-client.php (copied) (copied from alt-text-pro/trunk/includes/class-api-client.php) (2 diffs)
-
tags/1.4.26/readme.txt (copied) (copied from alt-text-pro/trunk/readme.txt) (4 diffs)
-
tags/1.4.26/templates (copied) (copied from alt-text-pro/trunk/templates)
-
tags/1.4.26/templates/settings.php (copied) (copied from alt-text-pro/trunk/templates/settings.php)
-
trunk/alt-text-pro.php (modified) (2 diffs)
-
trunk/includes/class-api-client.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alt-text-pro/tags/1.4.26/alt-text-pro.php
r3412665 r3412668 4 4 * Plugin URI: https://www.alt-text.pro 5 5 * Description: Automatically generate professional alt-text for your images using AI. Improve accessibility and SEO with our powerful SaaS integration. 6 * Version: 1.4.2 56 * Version: 1.4.26 7 7 * Author: Alt Text Pro 8 8 * Author URI: https://www.alt-text.pro/about … … 21 21 22 22 // Define plugin constants 23 define('ALT_TEXT_PRO_VERSION', '1.4.2 5'); // Version 1.4.2523 define('ALT_TEXT_PRO_VERSION', '1.4.26'); // Version 1.4.26 24 24 define('ALT_TEXT_PRO_PLUGIN_URL', plugin_dir_url(__FILE__)); 25 25 define('ALT_TEXT_PRO_PLUGIN_PATH', plugin_dir_path(__FILE__)); -
alt-text-pro/tags/1.4.26/includes/class-api-client.php
r3412663 r3412668 179 179 } 180 180 181 // Check file size ( GeminiAPI limit is ~20MB, but base64 increases size by ~33%)181 // Check file size (API limit is ~20MB, but base64 increases size by ~33%) 182 182 // So we limit to ~15MB raw file size to be safe 183 183 $file_size = filesize($file_path); … … 377 377 } 378 378 379 // Handle specific GeminiAPI errors380 if (stripos($error_message, ' GeminiAPI') !== false || stripos($error_message, 'empty response') !== false) {381 $error_message = esc_html__(' GeminiAI 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'); 382 382 } 383 383 -
alt-text-pro/tags/1.4.26/readme.txt
r3412665 r3412668 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.4.2 57 Stable tag: 1.4.26 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 17 17 ### Key Features 18 18 19 * **AI-Powered Generation**: Uses Google GeminiAI to create accurate, descriptive alt-text19 * **AI-Powered Generation**: Uses advanced AI to create accurate, descriptive alt-text 20 20 * **Automatic Processing**: Generate alt-text automatically when uploading images 21 21 * **Bulk Processing**: Process hundreds of existing images at once … … 143 143 144 144 == Changelog == 145 146 = 1.4.26 = 147 * Removed all specific AI provider mentions from descriptions and error messages 145 148 146 149 = 1.4.25 = … … 280 283 * Enhanced debug logging to show exact URLs 281 284 * Better error handling for 404 responses 282 * AI-powered alt-text generation using Google Gemini285 * AI-powered alt-text generation using advanced AI technology 283 286 * Automatic processing on image upload 284 287 * Bulk processing for existing images -
alt-text-pro/trunk/alt-text-pro.php
r3412665 r3412668 4 4 * Plugin URI: https://www.alt-text.pro 5 5 * Description: Automatically generate professional alt-text for your images using AI. Improve accessibility and SEO with our powerful SaaS integration. 6 * Version: 1.4.2 56 * Version: 1.4.26 7 7 * Author: Alt Text Pro 8 8 * Author URI: https://www.alt-text.pro/about … … 21 21 22 22 // Define plugin constants 23 define('ALT_TEXT_PRO_VERSION', '1.4.2 5'); // Version 1.4.2523 define('ALT_TEXT_PRO_VERSION', '1.4.26'); // Version 1.4.26 24 24 define('ALT_TEXT_PRO_PLUGIN_URL', plugin_dir_url(__FILE__)); 25 25 define('ALT_TEXT_PRO_PLUGIN_PATH', plugin_dir_path(__FILE__)); -
alt-text-pro/trunk/includes/class-api-client.php
r3412663 r3412668 179 179 } 180 180 181 // Check file size ( GeminiAPI limit is ~20MB, but base64 increases size by ~33%)181 // Check file size (API limit is ~20MB, but base64 increases size by ~33%) 182 182 // So we limit to ~15MB raw file size to be safe 183 183 $file_size = filesize($file_path); … … 377 377 } 378 378 379 // Handle specific GeminiAPI errors380 if (stripos($error_message, ' GeminiAPI') !== false || stripos($error_message, 'empty response') !== false) {381 $error_message = esc_html__(' GeminiAI 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'); 382 382 } 383 383 -
alt-text-pro/trunk/readme.txt
r3412665 r3412668 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.4.2 57 Stable tag: 1.4.26 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 17 17 ### Key Features 18 18 19 * **AI-Powered Generation**: Uses Google GeminiAI to create accurate, descriptive alt-text19 * **AI-Powered Generation**: Uses advanced AI to create accurate, descriptive alt-text 20 20 * **Automatic Processing**: Generate alt-text automatically when uploading images 21 21 * **Bulk Processing**: Process hundreds of existing images at once … … 143 143 144 144 == Changelog == 145 146 = 1.4.26 = 147 * Removed all specific AI provider mentions from descriptions and error messages 145 148 146 149 = 1.4.25 = … … 280 283 * Enhanced debug logging to show exact URLs 281 284 * Better error handling for 404 responses 282 * AI-powered alt-text generation using Google Gemini285 * AI-powered alt-text generation using advanced AI technology 283 286 * Automatic processing on image upload 284 287 * Bulk processing for existing images
Note: See TracChangeset
for help on using the changeset viewer.