← All changes
|
includes/abilities/settings/class-update-llms-txt-settings.php
+8
-1
2.4.0
→
2.9.0
View file →
| @@ -67,9 +67,16 @@ | ||
| 67 | 67 | */ |
| 68 | 68 | public function get_annotations() { |
| 69 | 69 | return [ |
| 70 | 70 | 'readonly' => false, |
| 71 | - 'destructive' => true, | |
| 71 | + // Settings writes are recoverable: the matching get-* ability reads | |
| 72 | + // the previous value, so nothing is lost that cannot be put back. | |
| 73 | + // `destructive` is reserved for calls that lose data or reach | |
| 74 | + // outside the site, and marking routine configuration with it made | |
| 75 | + // MCP clients demand a human approval for every save — which users | |
| 76 | + // reported as a permission bug, because the client's refusal reads | |
| 77 | + // as "No approval received" (#675). | |
| 78 | + 'destructive' => false, | |
| 72 | 79 | 'idempotent' => true, |
| 73 | 80 | 'priority' => 2.0, |
| 74 | 81 | 'openWorldHint' => false, |
| 75 | 82 | ]; |