PHP Browser Detection is a WordPress plugin used to detect a user's browser. Please report any bugs on the support forums.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
71
19 issue groups
Security
38
6 issue groups
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_browser_name".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'browser_supports_cookies'.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Bad datetime format from {$this->remoteVerUrl}"'.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$cache_version".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "php_browser_detection_autoupdate".
Sample message
Detected usage of a non-sanitized input variable: $_GET['test-id']
Sample message
$_GET['test-id'] 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: fclose().
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
Sample message
Processing form data without nonce verification.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_USER_AGENT']. Check that the array index exists before using it.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: touch().
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
The use of function ini_set() is discouraged
Sample message
Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "PBD_DIR_PATH".
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Potential connections found in static code analysis.
Outbound calls
22
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v3.1.8
28
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 28 | 117 | 68 | 49 | v3.1.8 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.