← All changes
|
includes/abilities/media/class-fill-missing-alt-text.php
+1
-2
trunk
→
2.11.0
View file →
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | */ |
| 32 | 32 | public function __construct() { |
| 33 | 33 | $this->id = 'thinkrank/fill-missing-alt-text'; |
| 34 | 34 | $this->label = __( 'Fill Missing ThinkRank Image Alt Text', 'thinkrank' ); |
| 35 | - $this->description = __( 'Fill in missing alt text across the Media Library using the site\'s alt text template, in batches. Returns how many images were updated plus remaining and next_offset; call again with that offset until done is true. Images that already have alt text are skipped unless overwrite is true. Call list-images with alt_status \'missing\' first to see how many need filling, and update-image-alt-text when you want to write one image yourself. Caches holding the old alt text are cleared where possible; check cache.warnings and pass on anything the user still has to clear by hand.', 'thinkrank' ); | |
| 35 | + $this->description = __( 'Fill in missing alt text across the Media Library using the site\'s alt text template, in batches. Returns how many images were updated plus remaining and next_offset; call again with that offset until done is true. Images that already have alt text are skipped unless overwrite is true. Call list-images with alt_status \'missing\' first to see how many need filling, and update-image-alt-text when you want to write one image yourself.', 'thinkrank' ); | |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * {@inheritDoc} |
| @@ -103,9 +103,8 @@ | ||
| 103 | 103 | 'done' => [ |
| 104 | 104 | 'type' => 'boolean', |
| 105 | 105 | 'description' => __( 'True when the whole library has been walked. Call again with next_offset while this is false.', 'thinkrank' ), |
| 106 | 106 | ], |
| 107 | - 'cache' => $this->cache_property(), | |
| 108 | 107 | ], |
| 109 | 108 | ]; |
| 110 | 109 | } |
| 111 | 110 | |