Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

v1.12

Latest

Choose a tag to compare

@vdite vdite released this 18 Oct 08:57
  • An invalid Client ID no longer silently erases the saved one (which disabled ads site-wide); an admin notice is shown instead.
  • The pub-… publisher ID from the AdSense account is accepted and converted to ca-pub-…; pasted whitespace is removed.
  • crossorigin="anonymous" is now actually added to the script tag.
  • The "Posts page" can be excluded by its page ID; archive pages can no longer match an excluded ID by accident.
  • Invalid entries in the excluded-ID list are reported instead of silently dropped.
  • Prefixed the settings page callback to avoid "Cannot redeclare" conflicts with other plugins; settings page renamed to "AdSense Inject".

Install: download adsense-inject-1.12.zip and upload it via Plugins → Add New → Upload Plugin. The ZIP contains the folder adsense-inject/, so future updates replace the plugin in place.

Privacy: the plugin does not handle consent itself. See the README for notes on GDPR and Google's own CMP.