Commit b9c275f
Sitemaps abilities: register status reads + rebuild dispatch via Registrar (#48767)
* Sitemaps abilities: register status reads + rebuild dispatch via Registrar
* Sitemaps abilities: use core site category
* Sitemaps abilities tests: register core site category in lifecycle helper
* Sitemaps abilities: simplify get-status to reflect the served sitemap.xml (drop dup URL / synthetic last-build / reserved error; add real sitemaps[])
* Sitemaps abilities: pass string '0' to jp_sitemap_filename() to satisfy Phan type contract
* Sitemaps abilities: return next_scheduled_at (next jp_sitemap_cron_hook tick, UTC) from request-rebuild
* Sitemaps abilities: format next_scheduled_at as ISO 8601 UTC (Z suffix) for unambiguous timezone
---------
Co-authored-by: Enej Bajgoric <enej.bajgoric@a8c.com>1 parent 167b080 commit b9c275f
7 files changed
Lines changed: 1203 additions & 0 deletions
File tree
- projects/plugins/jetpack
- changelog
- modules/sitemaps
- abilities
- tests/php/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments