WordPress · api · fg-0097

WordPress creates no revision when a post is only published, so revisions cannot show who published it

If you see Only the creation revision exists on a post someone later published, the cause and the fix for WordPress are below, last verified 2026-09-22.

Verified Sep 2026trust 50/100
Symptom
Only the creation revision exists on a post someone later published
Cause
A status-only transition, such as clicking Publish without editing, does not add a revision.
Fix
Use an audit log plugin or compare post_modified with post_date_gmt; do not infer from revisions who changed a status.
Apply
GET /wp-json/wp/v2/posts/<id>?context=edit and compare modified_gmt with date_gmt
Affected
WordPress core, September 2026

Last verified 2026-09-22 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun