• 1.0.0 1ef08bd731

    v1.0.0 Stable

    javier released this 2026-10-12 15:30:32 +00:00 | 0 commits to main since this release

    1.0.0

    Release date: 2026-10-12

    Highlights

    • Traffic incidents for the C-15 corridor and all Catalunya, plus the 19 Catalan Low Emission Zones, for Font del Bosc residents. No API keys.

    Added

    • Shortcode [fontdelbosc_transit] with view (c15, all, zbe), max and comarca attributes, rendered as a card grid with C-15 incidents highlighted.
    • Comarca filter (altpenedes, anoia, baixllobregat, garraf, single value or comma-separated list) resolved from the incident towns.
    • SCT DATEX2 client (structure, coordinates, types) enriched with the SCT RSS feed text, merged by incident reference; RSS also serves as full fallback.
    • DGT NAP ZBE client: live zone index (HTML directory) with the 19 Catalan zones pre-selected; new zones appear in the admin automatically.
    • ZBE cards: restricted vehicle labels, operating hours, link to the municipal regulations.
    • Persistent January 2026 etiqueta B restriction notice (frontend ZBE view and activation admin notice).
    • Sidebar widget: five latest C-15 incidents or a ZBE summary.
    • Transient caching (5 minutes incidents, 24 hours ZBE) with stale-while-error fallback and source timestamps.
    • Admin settings page: incidents, zones, status with cache flush, and documentation sections.
    • Translations: Spanish (es_ES) and Catalan (ca).

    Security

    • Clean-context pre-deploy audit with no critical findings; capability check and nonce on the only state-changing admin action; XML parsed with entity loading disabled and internal error handling; all output escaped.

    Compatibility

    • WordPress: 6.4 - 7.1
    • PHP: 8.2 - 8.5

    Tests

    • PHP Coding Standards: 3.13.6
    • WordPress Coding Standards: 3.4.1
    Downloads