← All changes
|
includes/abilities/indexing/class-submit-urls-to-index.php
+5
-1
2.0.2
→
2.10.0
View file →
| @@ -29,9 +29,9 @@ | ||
| 29 | 29 | */ |
| 30 | 30 | public function __construct() { |
| 31 | 31 | $this->id = 'thinkrank/submit-urls-to-index'; |
| 32 | 32 | $this->label = __( 'Submit URLs to Instant Indexing', 'thinkrank' ); |
| 33 | - $this->description = __( 'Submit one or more URLs to search engines via the IndexNow protocol. Requires instant indexing to be configured (an API key must exist) or it returns "API Key missing". Calls the external IndexNow API.', 'thinkrank' ); | |
| 33 | + $this->description = __( 'Submit one or more URLs to search engines via the IndexNow protocol. Requires instant indexing to be configured (an API key must exist) or it returns "API Key missing". Calls the external IndexNow API. get-instant-indexing-settings reports whether a key is configured, and get-instant-indexing-history lists past submissions.', 'thinkrank' ); | |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * {@inheritDoc} |
| @@ -40,8 +40,12 @@ | ||
| 40 | 40 | */ |
| 41 | 41 | public function get_annotations() { |
| 42 | 42 | return [ |
| 43 | 43 | 'readonly' => false, |
| 44 | + // Deliberately kept. This calls the external IndexNow API, and a URL | |
| 45 | + // announced to a search engine cannot be un-announced — the one | |
| 46 | + // thing on the free surface that genuinely cannot be undone from | |
| 47 | + // inside ThinkRank, which is what `destructive` is for (#675). | |
| 44 | 48 | 'destructive' => true, |
| 45 | 49 | 'idempotent' => false, |
| 46 | 50 | 'priority' => 2.0, |
| 47 | 51 | 'openWorldHint' => true, |