Earn money and make your visitors happy! Offer them useful tools for their travel needs. Earn on commission for each booking.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
432
6 issue groups
I18n
232
6 issue groups
Maintainability
175
13 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='tp-admin-section-header'>{$section['title']}</h2>\n"'.356
- Category
- Security
- Occurrences
- 356
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='tp-admin-section-header'>{$section['title']}</h2>\n"'.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'travelpayouts' but got 'redux-framework'.194
- Category
- I18n
- Occurrences
- 194
- Severity
- error
Sample message
Mismatched text domain. Expected 'travelpayouts' but got 'redux-framework'.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$$options_global".56
- Category
- Maintainability
- Occurrences
- 56
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$$options_global".
ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" $property must be instance of $expected"'.50
- Category
- Security
- Occurrences
- 50
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" $property must be instance of $expected"'.
ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo $_widget ..." but found "<?= $_widget ..."45
- Category
- Maintainability
- Occurrences
- 45
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo $_widget ..." but found "<?= $_widget ..."
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;23
- Category
- Maintainability
- Occurrences
- 23
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $domain15
- Category
- I18n
- Occurrences
- 15
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $domain
ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $text10
- Category
- I18n
- Occurrences
- 10
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $text
WARNINGSecurityRecommendedProcessing form data without nonce verification.8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Processing form data without nonce verification.
Show 15 moreShow less
WARNINGSecurityMissing Unslash7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
$_GET[$this->routeParam] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput Not Sanitized6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET[$this->routeParam]
ERRORMaintainabilityparse url parse url6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
ERRORI18nNon Singular String Literal Context6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
The $context parameter must be a single text string literal. Found: $context
ERRORMaintainabilitybadly named files6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
File and folder names must not contain spaces or special characters.
WARNINGMaintainabilityerror log print r5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
WARNINGSecurityInput Not Validated5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['externalUrl']. Check that the array index exists before using it.
ERRORMaintainabilityfile system operations rmdir5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
ERRORMaintainabilityunlink unlink5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
WARNINGMaintainabilityNon Prefixed Hookname Found4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_locale".
ERRORMaintainabilitystrip tags strip tags4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
ERRORI18nNon Singular String Literal Plural4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
The $plural parameter must be a single text string literal. Found: $plural
ERRORMaintainabilityNot Allowed3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
WARNINGMaintainabilityNon Prefixed Function Found3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_Redux_Travelpayouts_instance".
WARNINGI18nLow Level Translation Function3
- Category
- I18n
- Occurrences
- 3
- Severity
- warning
Sample message
Use of the "translate()" function is reserved for low-level API usage.
Score History
First score snapshot
v1.2.2
23
Latest
- Findings
- 879
- Errors
- 769
- Warnings
- 110
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 879 | 769 | 110 | v1.2.2 | 2.0.0 |