WordPress · infra · fg-0095

Tags installed with Simple Custom CSS and JS vanish after WordPress auto-updates to 7.1

If you see Page source shows an empty 'start Simple Custom CSS and JS' comment block, the cause and the fix for WordPress are below, last verified 2026-10-12.

Verified Oct 2026trust 50/100
Symptom
Page source shows an empty 'start Simple Custom CSS and JS' comment blockItems stay active with their code intactTracking events drop to zero
Cause
In WordPress 7.1, get_post() returns null for a non-numeric argument. Plugin version 3.53 calls get_post() with a string such as '123.html', so HTML items print nothing. Re-saving the item does not help.
Fix
Update the plugin to 3.54 or later, then clear page caches and confirm the tag loads.
Apply
wp plugin update custom-css-js && curl -s -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36" "https://example.com/?cb=$(date +%s)" | grep -c gtm.js
Affected
Simple Custom CSS and JS 3.53 on WordPress 7.1.x, fixed in 3.54, October 2026

Last verified 2026-10-12 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

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