Display Airbnb reviews in a slider or grid. Lightweight plugin with reviews saved locally on your server for fast loading.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
507
14 issue groups
Security
429
10 issue groups
I18n
20
1 issue group
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$airbnbtemplatewidgetrowcount".358
- Category
- Maintainability
- Occurrences
- 358
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$airbnbtemplatewidgetrowcount".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"[$k]=>\""'.93
- Category
- Security
- Occurrences
- 93
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"[$k]=>\""'.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.88
- Category
- Security
- Occurrences
- 88
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $filterratingtext55
- Category
- Security
- Occurrences
- 55
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $filterratingtext
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.44
- Category
- Maintainability
- Occurrences
- 44
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().39
- Category
- Maintainability
- Occurrences
- 39
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.39
- Category
- Security
- Occurrences
- 39
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.
WARNINGSecurityRequest data is not unslashed$_GET['pnum'] not unslashed before sanitization. Use wp_unslash() or similar37
- Category
- Security
- Occurrences
- 37
- Severity
- warning
Sample message
$_GET['pnum'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.36
- Category
- Security
- Occurrences
- 36
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['pnum']34
- Category
- Security
- Occurrences
- 34
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['pnum']
Show 15 moreShow less
WARNINGSecurityDatabase parameter is not escaped27
- Category
- Security
- Occurrences
- 27
- Severity
- warning
Sample message
Unescaped parameter $table_name used in $wpdb->get_results()
ERRORI18nText Domain Mismatch20
- Category
- I18n
- Occurrences
- 20
- Severity
- error
Sample message
Mismatched text domain. Expected 'wp-airbnb-review-slider' but got 'wp-review-slider-pro'.
ERRORMaintainabilityOffloaded Content16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
WARNINGSecurityInterpolated SQL is not prepared15
- Category
- Security
- Occurrences
- 15
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $rating at " WHERE rating = '$rating'"
ERRORMaintainabilityMissing direct file access protection13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilityShort PHP open tag found8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo esc_attr ..." but found "<?= esc_attr ..."
ERRORMaintainabilitydate date6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORSecurityDatabase parameter is not escaped5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 136.
ERRORMaintainabilitycurl curl setopt5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
WARNINGMaintainabilitySchema Change4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
WARNINGMaintainabilityNon-prefixed function4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_WP_Airbnb_Review".
ERRORMaintainabilitystrip tags strip tags3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Airbnb Review Slider" - contains the restricted term "wp" which cannot be used at all in your plugin name.
WARNINGMaintainabilityNon-prefixed constant2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "wprev_airbnb_plugin_dir".
ERRORMaintainabilityparse url parse url2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Score History
First score snapshot
v4.5
25
Latest
- Findings
- 971
- Errors
- 325
- Warnings
- 646
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 25 | 971 | 325 | 646 | v4.5 | 2.0.0 |