Are you sure you want to do this? WordPress Origin: Application & API OSI layer 7 · Application Last updated 13 Oct 2026

WordPress: Are you sure you want to do this? Please try again. (nonce check failed)

A WordPress security nonce didn’t validate — the page was open too long, cached, or a plugin/theme form is broken.

Exact message you may see Are you sure you want to do this?The link you followed has expired
Seen on: WordPress

Meaning

Nonces expire after 12–24 hours and are tied to the user session. Cached admin pages, logging in again in another tab, or plugin bugs (missing nonce field) trigger it.

Common causes

  • Page left open past nonce lifetime
  • Admin/frontend page cached with an old nonce
  • Logged in/out in another tab
  • Plugin/theme form missing the nonce

⚡ Quick fix

  1. Reload the page and try again
  2. Exclude admin and logged-in pages from caching
  3. Update/deactivate the plugin causing it

Detailed fix by platform

WordPress

  1. php
    // In a form
    wp_nonce_field('save_settings', '_mynonce');
    // When processing
    check_admin_referer('save_settings', '_mynonce');

How to diagnose

  1. Timing — How long was the page open?
  2. Cache — Page cached?
  3. Plugin — Which action triggers it?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

403 Forbidden wp-admin — WordPress: 403 Forbidden on wp-admin, wp-login.php or admin-ajax.php (WordPress)403 Forbidden wp-adminAn automated WordPress update has failed — An automated WordPress update has failed to complete - please attempt the update again now (WordPress)An automated WordPres…Another update is currently in progress — WordPress: Another update is currently in progress. (WordPress)Another update is cur…Cookies are blocked — WordPress login: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. (WordPress)Cookies are blockedfile type is not permitted — WordPress: Sorry, you are not allowed to upload this file type / Sorry, this file type is not permitted for security reasons (WordPress)file type is not perm…is damaged and can’t be opened — macOS: “App” is damaged and can’t be opened. You should move it to the Trash. (macOS)is damaged and can’t …key size — DKIM key too short: use 2048-bit RSA keys (1024-bit rejected or warned) (Email / SMTP)key sizeLink expired — WordPress: The link you followed has expired (WordPress)Link expiredAre you s…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.