Add Code To Head

Changelog

1.21

  • Fixed bug that caused extra space to be added to head contents.
  • Code quality and best-practice pass. No database schema changes; existing saved code is unaffected.

1.19

  • Fix for CVE ID: CVE‑2025‑48314
  • Stored head code is sanitized for users without unfiltered_html, mitigating the cross-site scripting (XSS) issue for untrusted roles
  • Note: arbitrary code insertion on public pages remains intentional (and is the point of this plugin).

1.17

  • Tested compatibility up to WP 6.7.1
  • Added note about Wordfence error that might be encountered

1.15

  • Tested compatibility up to WP 5.7.2
  • Reformatted script: converted tabs to spaces

1.13

  • Tested compatibility up to WP 4.6.1

1.11

  • Name changed to (hopefully) reduce confusion.

1.10

  • Screenshot updated
  • Compatibility with latest WordPress

1.09

  • Readme file added

1.07

  • Original release

Plugin Website
Visit website

Author
salubrio
Version:
1.23
Last Updated
April 22, 2026
Active Installs
3000
Requires
WordPress 6.1
Tested Up To
WordPress 6.9.4
Requires PHP
8.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.