The List Petfinder Pets plugin takes advantage of the Petfinder API to list your available pets on your website.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
94
5 issue groups
I18n
52
5 issue groups
Maintainability
20
4 issue groups
Repo Compliance
1
1 issue group
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<p>Could not get access token from Petfinder: {$error_message}</p>"'.42
- Category
- Security
- Occurrences
- 42
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<p>Could not get access token from Petfinder: {$error_message}</p>"'.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'petfinder-listings' but got 'petf'.36
- Category
- I18n
- Occurrences
- 36
- Severity
- error
Sample message
Mismatched text domain. Expected 'petfinder-listings' but got 'petf'.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.16
- Category
- Security
- Occurrences
- 16
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['apikey_v2']. Check that the array index exists before using it.16
- Category
- Security
- Occurrences
- 16
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['apikey_v2']. Check that the array index exists before using it.
ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_safe_remote_get()" requires WordPress 3.6.0, but your plugin minimum supported version is WordPress 3.0.0.12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
Function "wp_safe_remote_get()" requires WordPress 3.6.0, but your plugin minimum supported version is WordPress 3.0.0.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['apikey_v2']10
- Category
- Security
- Occurrences
- 10
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['apikey_v2']
WARNINGSecurityRequest data is not unslashed$_POST['apikey_v2'] not unslashed before sanitization. Use wp_unslash() or similar10
- Category
- Security
- Occurrences
- 10
- Severity
- warning
Sample message
$_POST['apikey_v2'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nMissing Translators CommentA 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.6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
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.
WARNINGI18nNo Html Wrapped StringsTranslatable string should not be wrapped in HTML. Found: "<p>Invalid Pet ID supplied.</p>"6
- Category
- I18n
- Occurrences
- 6
- Severity
- warning
Sample message
Translatable string should not be wrapped in HTML. Found: "<p>Invalid Pet ID supplied.</p>"
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "petf_replace_description".4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "petf_replace_description".
Show 5 moreShow less
ERRORMaintainabilityrand rand2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
ERRORI18nMissing Arg Domain2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORI18nNo Empty Strings2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $text text string should have translatable content. Found: ''
ERRORMaintainabilityMissing direct file access protection2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.7 < 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.
External Connections
Potential connections found in static code analysis.
Outbound calls
32
External assets
0
Incoming endpoints
0
Notable Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Score History
First score snapshot
v1.1.5
40
Latest
- Findings
- 167
- Errors
- 121
- Warnings
- 46
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 40 | 167 | 121 | 46 | v1.1.5 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.