• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bleedingdeacons / trusted / 36944293947
92%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2026 12:09AM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Oct 2026 12:06AM UTC coverage: 92.059% (+0.007%) from 92.052%
36944293947

push

github

web-flow
fix: refresh the calendar's REST nonce when it expires (#82)

The calendar is given one REST nonce when the page loads. WordPress stops
accepting it after 12-24 hours, or as soon as the logged-in user changes
(User Switching, View Admin As). After that, every request failed with
"Cookie check failed" (rest_cookie_invalid_nonce) until the page was
reloaded.

On that error, api() now gets a fresh nonce from core's rest-nonce AJAX
action and retries the request once. A logged-out user gets no nonce, so
the calendar says the session has expired instead of retrying. Retrying a
write is safe: WordPress rejects the nonce before the request reaches
Trusted, so the first attempt did nothing.

2052 of 2229 relevant lines covered (92.06%)

5.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36944293947.1 02 Oct 2026 12:09AM UTC 36
92.06
GitHub Action Run
Source Files on build 36944293947
  • Tree
  • List 36
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36944293947
  • 78dda79a on github
  • Prev Build on main (#36925971302)
  • Next Build on main (#36945256824)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc