Easily add custom scripts and code to your WordPress site’s header, body, or footer. Perfect for Google Analytics, Tag Manager, pixels, meta tags, cus …
Prioritized issue groups from the latest Plugin Check scan
I18n
181
2 issue groups
Maintainability
61
15 issue groups
Security
36
5 issue groups
Repo Compliance
3
3 issue groups
Sample message
Mismatched text domain. Expected 'header-and-footer-script-adder' but got 'advanced-scripts-manager'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$body_specific_posts'.
Sample message
$_POST['asm_code'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "ASM_Activator".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "asm_activate".
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ASM_PLUGIN_BASENAME".
Sample message
Detected usage of a non-sanitized input variable: $_POST[$field_name]
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$pro_admin".
Sample message
Processing form data without nonce verification.
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
Sample message
File has mixed line endings; this may cause incorrect results
Sample message
Sanitization missing for register_setting().
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
Plugin name "Header Footer Script Adder – Insert Code in Header, Body & Footer" is different from the name declared in plugin header "Header Footer Script Adder".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
The "Network" header in the plugin file is not valid. Can only be set to true, and should be left out when not needed.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "header-footer-script-adder", expected "header-and-footer-script-adder".
Sample message
Unexpected markdown file "INSTALLATION.md" detected in plugin root. Only specific markdown files are expected in production plugins.
Potential connections found in static code analysis.
Outbound calls
198
External assets
11
Incoming endpoints
3
No public endpoints detected.
admin_post
wp_ajax
wp_ajax
First score snapshot
v2.1
36
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 281 | 203 | 78 | v2.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.