Surge is a very simple and fast page caching plugin for WordPress.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
73
13 issue groups
Security
17
4 issue groups
Repo Compliance
2
2 issue groups
I18n
1
1 issue group
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$anchor".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']
Sample message
$_SERVER['HTTP_HOST'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().
Sample message
Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.
Sample message
Plugin folders are deleted when upgraded. Do not save data to the plugin folder using copy(). 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
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'stream_get_contents'.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
rename() is discouraged. Use WP_Filesystem::move() to rename a file.
Sample message
Missing $domain parameter in function call to __().
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"
Not analyzed yet.
First score snapshot
v1.2.1
60
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 60 | 93 | 46 | 47 | v1.2.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.