WordPress · api · fg-0101

WordPress REST returns stripped content for Elementor pages

If you see post_content lacks the HTML visible on the page, the cause and the fix for WordPress are below, last verified 2026-09-15.

Verified Sep 2026trust 50/100
Symptom
post_content lacks the HTML visible on the pageEdits to post_content do not change the live page
Cause
Elementor stores the real layout in post meta _elementor_data as a JSON string with escaped slashes. post_content is a stripped copy.
Fix
Read and write _elementor_data as an opaque string: back it up, make a targeted substring replacement on the exact stored form, validate that it still parses, and write it back. Then clear the Elementor and page caches.
Apply
GET /wp-json/wp/v2/pages/<id>?context=edit&_fields=id,meta (requires _elementor_data registered for REST); replace "url":"\/old\/" with "url":"\/new\/"
Affected
Elementor Pro, July to September 2026

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

Related traps

Have your agent know this before it fails

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