Adds fields to the post and page edit pages that allow you to insert custom JavaScript or CSS for that post or page.
Prioritized issue groups from the latest Plugin Check scan
Security
44
5 issue groups
I18n
29
2 issue groups
Maintainability
9
6 issue groups
Repo Compliance
1
1 issue group
Sample message
Mismatched text domain. Expected 'insert-javascript-css' but got 'ijsc'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$css'.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_POST['ijsc-field-css']
Sample message
$_POST['ijsc-field-css'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
Missing $domain parameter in function call to _e().
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Function "wp_dequeue_script()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.
Sample message
Detected usage of meta_query, possible slow query.
Sample message
In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
Plugin name "Insert JavaScript and CSS" is different from the name declared in plugin header "Insert JavaScript & CSS".
Sample message
Tested up to: 3.4 < 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.
Potential connections found in static code analysis.
Outbound calls
3
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v0.2
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 83 | 64 | 19 | v0.2 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.