Add custom css to the whole website and to specific posts and pages.
Prioritized issue groups from the latest Plugin Check scan
Security
41
5 issue groups
Maintainability
24
11 issue groups
Repo Compliance
2
2 issue groups
I18n
1
1 issue group
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$custom_css".
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Add Custom CSS" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['post_type']. Check that the array index exists before using it.
Sample message
$_POST['single_custom_css'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_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
Found call to wp_enqueue_style() with external resource. Offloading styles to your servers or any remote service is disallowed.
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
Sanitization missing for register_setting().
Sample message
Detected usage of a non-sanitized input variable: $_POST['wp_add_custom_css_box_nonce']
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
Linking directly to 5 stars reviews is not allowed.
Sample message
Library files that are already in the WordPress core are not permitted.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Tested up to: 6.8 < 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
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
Function "wp_scripts()" requires WordPress 4.2.0, but your plugin minimum supported version is WordPress 4.0.0.
Not analyzed yet.
First score snapshot
v1.2.1
39
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 68 | 45 | 23 | v1.2.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.