Invalid JSON
-
the list shortcode returns invalid json. it returns the html for the nonce before the json object for some reason when saving:
<input type=”hidden” id=”_do_prayer_nonce” name=”_do_prayer_nonce” value=”39129a015d”/><input type=”hidden” name=”_wp_http_referer” value=”/wp-json/wp/v2/pages/2670?_locale=user”/><input type=”hidden” id=”_pray_response_nonce” name=”_pray_response_nonce” value=”854ea96863″/><input type=”hidden” name=”_wp_http_referer” value=”/wp-json/wp/v2/pages/2670?_locale=user”/><input type=”hidden” id=”_do_prayer_nonce” name=”_do_prayer_nonce” value=”39129a015d”/><input type=”hidden” name=”_wp_http_referer” value=”/wp-json/wp/v2/pages/2670?_locale=user”/><input type=”hidden” id=”_pray_response_nonce” name=”_pray_response_nonce” value=”854ea96863″/><input type=”hidden” name=”_wp_http_referer” value=”/wp-json/wp/v2/pages/2670?_locale=user”/>{
“id”: 2670,
“date”: “2026-04-27T08:06:35”,
“date_gmt”: “2026-04-27T15:06:35”,
“guid”: {
…
all that html shouldn’t be there. the form shortcode returns perfectly fine json.
You must be logged in to reply to this topic.