| @@ -2,10 +2,10 @@ | ||
| 2 | 2 | Contributors: valeriomonti |
| 3 | 3 | Donate link: https://ko-fi.com/valeriomonti |
| 4 | 4 | Tags: alt text, alt tag, accessibility, openai, seo |
| 5 | 5 | Requires at least: 6.0 |
| 6 | -Tested up to: 6.9.0 | |
| 7 | -Stable tag: 2.8.2 | |
| 6 | +Tested up to: 6.8.3 | |
| 7 | +Stable tag: 2.5.2 | |
| 8 | 8 | Requires PHP: 7.4 |
| 9 | 9 | License: GPLv3 |
| 10 | 10 | License URI: http://www.gnu.org/licenses/gpl.html |
| 11 | 11 | |
| @@ -80,28 +80,8 @@ | ||
| 80 | 80 | For images already in the media library, you can create bulk alt texts. Open the Media Library in the "list" view, select the images for which to generate the alt text, and choose the "Generate alt text" bulk action. (Depending on the number of images chosen and their weight, this may take some time.) |
| 81 | 81 | |
| 82 | 82 | You can also generate the alt text of a single image directly from the media library. Open the Media Library in “grid” mode, choose the image for which to generate the alt text, and click the “Generate alt text” button. In no time the alt text field will be overwritten by the generated description. |
| 83 | 83 | |
| 84 | -### WP-CLI | |
| 85 | -If you prefer generating alt text in batch (e.g., to avoid processing in the Media Library UI), you can use WP-CLI. | |
| 86 | - | |
| 87 | -Generate alt text for a list of attachment IDs: | |
| 88 | - | |
| 89 | -`wp auto-alt-text generate --ids=123,456,789` | |
| 90 | - | |
| 91 | -Process all image attachments in batches: | |
| 92 | - | |
| 93 | -`wp auto-alt-text generate --all --limit=200 --offset=0` | |
| 94 | -`wp auto-alt-text generate --all --limit=200 --offset=200` | |
| 95 | - | |
| 96 | -Dry run (no metadata updates): | |
| 97 | - | |
| 98 | -`wp auto-alt-text generate --ids=123,456 --dry-run` | |
| 99 | - | |
| 100 | -Force overwrite of existing alt text (even if “Keep existing alt text” is enabled): | |
| 101 | - | |
| 102 | -`wp auto-alt-text generate --all --limit=200 --offset=0 --force` | |
| 103 | - | |
| 104 | 84 | **Notice**: If you choose one of the methods that involves the use of external APIs, the upload times for images in the media library might increase because it requires sending a request to the APIs, waiting for the external server to process, and waiting for a response. |
| 105 | 85 | |
| 106 | 86 | ### Logging |
| 107 | 87 | If the generation of the alt text via AI is set, in case of errors, to avoid blocking the editorial work, the image is loaded anyway but without the alt text being compiled. |
| @@ -191,38 +171,8 @@ | ||
| 191 | 171 | 5. Bulk alt text generation |
| 192 | 172 | 6. Single image alt text generation |
| 193 | 173 | |
| 194 | 174 | == Changelog == |
| 195 | -= 2.8.2 = | |
| 196 | -- Improve compatibility scoping vendor dependencies | |
| 197 | - | |
| 198 | -= 2.8.1 = | |
| 199 | -- Update available Claude models | |
| 200 | - | |
| 201 | -= 2.8.0 = | |
| 202 | -- Implement WP CLI commands for generating alt text | |
| 203 | - | |
| 204 | -= 2.7.0 = | |
| 205 | -- Migrate to the Responses API from the Chat Completion API for OpenAI | |
| 206 | -- Remove o1 Mini deprecated model | |
| 207 | - | |
| 208 | -= 2.6.2 = | |
| 209 | -- Replace hardcoded Openai model with the one selected from the user | |
| 210 | -- Update phpunit | |
| 211 | -- Update Vite | |
| 212 | - | |
| 213 | -= 2.6.1 = | |
| 214 | -- Avoid to truncate alt text too long | |
| 215 | - | |
| 216 | -= 2.6.0 = | |
| 217 | -- Implement SOLID principles | |
| 218 | -- Use design patterns | |
| 219 | -- Implement tests | |
| 220 | -- Preserve Media Library pagination when redirecting after bulk action | |
| 221 | - | |
| 222 | -= 2.5.3 = | |
| 223 | -- Protect the plugin from Cross-Site Request Forgery attacks | |
| 224 | - | |
| 225 | 175 | = 2.5.2 = |
| 226 | 176 | - Enable the use of OpenAI's GPT-5, GPT-5 Mini and GPT-5 nano models. |
| 227 | 177 | |
| 228 | 178 | = 2.5.1 = |