§5.19
Status page
- Phase 12.4
- theme 1.20.0
status.wcp (new, optional; public region). Address site_url('status'): /durum in Turkish, /status in English. While the page is off it returns 404. Without the file the core view is drawn.
| Variable | Content |
|---|---|
$heading, $lead |
Page title and description |
$overall, $overall_text, $overall_icon |
Overall status: operational, degraded, maintenance, partial, major; its text and the icons.svg icon name |
$updated_at, $updated_text |
Last update (ISO and formatted text) |
$groups |
[{id, name, about, status, status_label, icon, components: [{id, name, about, status, status_label, icon}]}]. A component without a group is a single-item group with name = null |
$active |
Open incidents and running maintenance |
$upcoming |
Scheduled maintenance |
$history |
Incidents and maintenance closed in the last $history_days days |
$history_days |
Number of days of the history filter |
$subscribe_open, $is_client |
Whether email subscription is open; whether the viewer is signed in |
$blocks['subscribe_html'] |
Subscription form (core). For a visitor: email, component choice, privacy notice consent, captcha; for a client: a link to My account |
Incident item ($active, $upcoming, $history): id, type (incident / maintenance), title, status, status_label, impact, impact_label, components (visible component names), starts_at, starts_text, ends_text, resolved_text, updates [{stage, stage_label, body_html, at, at_text}].
Rules
- The core calculates the effective status, the order (all lists and the timeline newest first) and the history filter. The theme produces no status and does not re-sort.
body_htmlis plain text escaped in the core: links withrel="nofollow noopener", line breaks as<br>. Print it with{!! !!}.- Colour must never carry meaning alone; always write the status text.
- Hidden components never appear in any list.
- The default theme uses the
includes/status-incident.wcppartial and.wi-sp-*classes for the incident card. - Subscription confirmation / management pages are core views; there is no theme template.