← All changes
|
includes/abilities/analysis/class-publish-llms-txt.php
+5
-1
2.2.0
→
2.9.0
View file →
| @@ -41,9 +41,13 @@ | ||
| 41 | 41 | */ |
| 42 | 42 | public function get_annotations() { |
| 43 | 43 | return [ |
| 44 | 44 | 'readonly' => false, |
| 45 | - 'destructive' => true, | |
| 45 | + // Republishing overwrites a file this ability generates from the | |
| 46 | + // saved settings, so the previous state is reproducible rather than | |
| 47 | + // lost — generate-llms-txt previews it and get-llms-txt-status | |
| 48 | + // reports it (#675). | |
| 49 | + 'destructive' => false, | |
| 46 | 50 | 'idempotent' => true, |
| 47 | 51 | 'priority' => 2.0, |
| 48 | 52 | 'openWorldHint' => false, |
| 49 | 53 | ]; |