Snippets made simple — easily insert and manage custom PHP, CSS, JS & HTML without coding in theme files.
Prioritized issue groups from the latest Plugin Check scan
Security
189
9 issue groups
Maintainability
96
14 issue groups
I18n
44
2 issue groups
Sample message
Processing form data without nonce verification.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$add_url".
Sample message
Mismatched text domain. Expected 'wp-coder' but got 'wpcoderpro'.
Sample message
$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_FILES['import_file']['name']
Sample message
Processing form data without nonce verification.
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
Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "SELECT * FROM {$table} WHERE id IN ($placeholders)"
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['import_file']['name']. Check that the array index exists before using it.
Sample message
Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.4.0.
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
The plugin name includes a restricted term. Your chosen plugin name - "WP Coder – Insert & Manage Code Snippets" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
The use of function ini_set() is discouraged
Sample message
Use placeholders and $wpdb->prepare(); found $query
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$container_id'.
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
Sample message
Plugin folders are deleted when upgraded. Do not save data to the plugin folder using file_put_contents(). Detected usage of constant WP_CONTENT_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.
Sample message
Replacement variables found, but no valid placeholders found in the query.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Wow_Company".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "SAVEQUERIES".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "emoji_svg_url".
Sample message
error_log() found. Debug code should not normally be used in production.
Potential connections found in static code analysis.
Outbound calls
39
External assets
6
Incoming endpoints
2
register_rest_route
register_rest_route
2 score snapshots
v4.5.1
36
Latest
v4.5
36
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 333 | 53 | 280 | v4.5.1 | 2.0.0 |
| 36 | 333 | 53 | 280 | v4.5 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.