Simple plugin to add script to header and footer for individual pages & posts
Prioritized issue groups from the latest Plugin Check scan
Security
65
6 issue groups
Maintainability
31
7 issue groups
I18n
16
1 issue group
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.
Sample message
Mismatched text domain. Expected 'oh-add-script-header-footer' but got 'oh_add_script'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Function "delete_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.5.0.
Sample message
Detected usage of a non-sanitized input variable: $_POST['oh-footer-script']
Sample message
$_POST['oh-footer-script'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "oh_add_script".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "OHHeaderFooterSetting".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$my_settings_page".
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['sogo_header_footer']['license_key']. Check that the array index exists before using it.
Sample message
screen_icon() has been deprecated since WordPress version 3.8.0.
Sample message
Plugin name "SOGO Add Script to Individual Pages Header Footer" is different from the name declared in plugin header "SOGO Add Script Header Footer".
Sample message
Tested up to: 5.3 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Not analyzed yet.
First score snapshot
v3.9
39
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 114 | 74 | 40 | v3.9 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.