LearnPress Export/Import bring you feature to export course, lesson, quiz, question from a LearnPress site to back up or bring to another LearnPress s …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
402
12 issue groups
Security
367
10 issue groups
I18n
49
3 issue groups
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\t<wp:term><wp:term_id>{$menu->term_id}</wp:term_id><wp:term_taxonomy>nav_menu</wp:term_taxonomy><wp:term_slug>{$menu->slug}</wp:term_slug>"'.182
- Category
- Security
- Occurrences
- 182
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\t<wp:term><wp:term_id>{$menu->term_id}</wp:term_id><wp:term_taxonomy>nav_menu</wp:term_taxonomy><wp:term_slug>{$menu->slug}</wp:term_slug>"'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_courses".128
- Category
- Maintainability
- Occurrences
- 128
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_courses".
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.80
- Category
- Maintainability
- Occurrences
- 80
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.70
- Category
- Security
- Occurrences
- 70
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().65
- Category
- Maintainability
- Occurrences
- 65
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $all_courses_str26
- Category
- Security
- Occurrences
- 26
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $all_courses_str
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'learnpress-import-export/filter/' . $is_on . '/can-load-assets/' . $args['type'] . '/' . $args['handle']".26
- Category
- Maintainability
- Occurrences
- 26
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'learnpress-import-export/filter/' . $is_on . '/can-load-assets/' . $args['type'] . '/' . $args['handle']".
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "LP_ADDON_IMPORT_EXPORT_ASSETS_URL".25
- Category
- Maintainability
- Occurrences
- 25
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "LP_ADDON_IMPORT_EXPORT_ASSETS_URL".
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.24
- Category
- I18n
- Occurrences
- 24
- 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.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$name]20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$name]
Show 15 moreShow less
WARNINGSecurityRequest data is not unslashed20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
$_COOKIE[$name] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nMissing Arg Domain19
- Category
- I18n
- Occurrences
- 19
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGSecurityInterpolated SQL is not prepared18
- Category
- Security
- Occurrences
- 18
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $and at "SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_status != 'auto-draft' $and"
ERRORMaintainabilityMissing direct file access protection17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed class16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "LPR_Export_Import_Parser".
WARNINGMaintainabilityNon-prefixed function16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_lpie_sort_files".
WARNINGMaintainabilityerror log error log11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
ERRORSecurityDatabase parameter is not escaped9
- Category
- Security
- Occurrences
- 9
- Severity
- error
Sample message
Unescaped parameter $and used in $wpdb->get_results()\n$and assigned unsafely at line 145.
WARNINGSecurityDatabase parameter is not escaped8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Unescaped parameter $table used in $wpdb->get_results()\n$table assigned unsafely at line 126.
WARNINGSecurityMissing nonce verification7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityNonce verification recommended7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityslow db query meta key6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query meta value6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of meta_value, possible slow query.
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.
ERRORI18nNon Singular String Literal Domain6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $slug
External Connections
Not analyzed yet.
Score History
First score snapshot
v4.1.5
24
Latest
- Findings
- 854
- Errors
- 385
- Warnings
- 469
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 854 | 385 | 469 | v4.1.5 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.