Docs

What the plugin sends

Counts, kinds and times of saves, signed with a key that never leaves your server. Never content, and never who edited. The update check sends nothing about the site.

5 min read WordPress 6.6+ Updated 1 Dec 2026

In short

To count credits, W-Pencil tells w-pencil.cloud how many saves happened, of what kind and when. It never sends the content, and never who made the change. Before a site is connected it sends nothing about its saves at all.

WordPress's Settings › Privacy gets a suggested paragraph that says the same, for your site's privacy policy.

When an admin connects

The admin's browser goes to w-pencil.cloud/connect with:

  • the site's origin, like https://example.org, and its return address, wp-admin/admin-post.php?action=w_pencil_connect on that origin;
  • a random state and a PKCE challenge;
  • the W-Pencil and WordPress versions.

Back on the site, the server swaps the one-time code for the connection. It sends the code and its PKCE verifier, the origin, the versions again and the public half of the site's new key.

With a site key there's no browser step. The server sends the key once, with the origin, the versions and the public half of the site's new key, and signs the request with the private half. The site never stores the key, in the database or in a log. w-pencil.cloud keeps only its SHA-256, for a day.

With every request

Each request after that carries these headers:

  • X-PP-Site: the site's ID at w-pencil.cloud.
  • X-PP-Timestamp and X-PP-Nonce: the time, and a random value used once.
  • X-PP-Signature: the signature, below.
  • X-PP-Host: the host name the site answered on, like www.example.org. It tells a live site from a copy. From WP-CLI and WP-Cron it is the host of the site's own address.

The user agent is W-Pencil/ and the plugin's version. WordPress's own user agent names your site's address, so W-Pencil doesn't use it.

Usage reports

Each save is one event in a report:

  • a random ID made on your site, so a report sent twice counts once;
  • the allowance it was spent from, or none while the site was offline;
  • when it happened, and how many saves: one;
  • the kind: text, link, image or form (dev on a local site);
  • undo when it was a free Undo.

Asking for a new allowance sends the ID of the last one and how many credits it used. Reading the account for W-Pencil › Account and wp w-pencil status sends nothing but the headers.

The update check

W-Pencil updates from w-pencil.cloud, not wordpress.org. Up to every 6 hours, while WordPress checks for updates, the site asks https://w-pencil.cloud/api/v1/plugin/latest for the newest release. That request isn't signed and carries nothing about the site: no address, no ID, no key, and the user agent W-Pencil/ and the version. Every site gets the same answer.

The answer is signed with W-Pencil's release key, whose public half ships in the plugin. The update is offered only when that signature checks out, and the zip is installed only when its SHA-256 is the one the answer gives. A site that isn't connected checks for updates too.

Never sent

  • Content: no text, links, images, field names or page addresses.
  • People: no editor's name, email address or user ID. Your visitors are never involved.
  • Editors' browsers don't call w-pencil.cloud. They only go there when someone presses a link, such as Add a pack.

Like any request, the calls come from your server's IP address, which w-pencil.cloud sees.

Signed requests

The site makes an Ed25519 key pair when it connects, and sends only the public half. Every request after that is signed with the private half, which stays on your server: The signing key and copies says where. PHP's sodium extension signs, or sodium_compat, which comes with WordPress.

  • What's signed: the method, the path, the site's ID, the time, the nonce and a SHA-256 of the body, as METHOD|PATH|SITE|TS|NONCE|BODY_SHA256.
  • What's refused: a wrong signature or a nonce seen before, and any request more than 5 minutes off w-pencil.cloud's clock.
  • A clock that's off is answered with w-pencil.cloud's time. The site keeps the difference and tries once more, so it never looks like a disconnect.
  • Disconnecting, or connecting again, retires the old key at once.

The key's fingerprint, like SHA256:…, is on W-Pencil › Account, in wp w-pencil status and on the site's page at w-pencil.cloud, so you can compare them.

Connecting safely

  • PKCE: the verifier and state stay on your site, in a transient for 10 minutes, tied to the admin who pressed Connect W-Pencil. The callback checks state, and that the same admin came back, before anything else.
  • The one-time code works once, for 60 seconds. w-pencil.cloud keeps only its SHA-256.
  • The return address must be the site's own admin-post.php?action=w_pencil_connect. The callback swaps the code at once, then sends the browser on to W-Pencil › Account, so the code leaves the address bar.
  • The consent page shows the site's origin, with an explicit Connect this site.
  • A site key is made by an owner or admin of the account, and shown to them once. It works once, for 30 minutes, and connects the site to that account only. The request that uses it must be signed by the key it sends, and after 10 failed tries in an hour from one address, w-pencil.cloud refuses more.
  • On the site, only people with the w_pencil_admin capability, which administrators have, can connect or disconnect it.

What stays on your site

  • The private key, the allowance and the reports waiting to go.
  • Who saved what for free Undo, for 10 minutes.
  • W-Pencil › Activity: each save's time, the user, what was edited (its label, like "Home › Hero › Heading") and whether it cost a credit. Never the values. Rows go after 90 days.
  • Each revision's author and time, as WordPress keeps them, with W-Pencil's note: "Edited on the page: Home › Hero › Heading".

How w-pencil.cloud itself keeps your account safe is on the Security page, and what it stores is in What the cloud keeps.

Next in Security and privacy

What the cloud keeps.

What w-pencil.cloud stores about people, sites and usage, what Paddle and Emailit see, how long each is kept and how to report a vulnerability.