LearnPress – Backup & Migration Tool

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 …

v4.1.5ThimPressUpdated Added 5k+ installs62% rating0% support resolved
24
Score
385
Errors
469
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

854 findings

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: &quot;$all_courses&quot;.128
Category
Maintainability
Occurrences
128
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$all_courses&quot;.

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: &quot;&#039;learnpress-import-export/filter/&#039; . $is_on . &#039;/can-load-assets/&#039; . $args[&#039;type&#039;] . &#039;/&#039; . $args[&#039;handle&#039;]&quot;.26
Category
Maintainability
Occurrences
26
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;learnpress-import-export/filter/&#039; . $is_on . &#039;/can-load-assets/&#039; . $args[&#039;type&#039;] . &#039;/&#039; . $args[&#039;handle&#039;]&quot;.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;LP_ADDON_IMPORT_EXPORT_ASSETS_URL&quot;.25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;LP_ADDON_IMPORT_EXPORT_ASSETS_URL&quot;.

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 more
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-&gt;prepare(); found interpolated variable $and at &quot;SELECT DISTINCT post_author FROM $wpdb-&gt;posts WHERE post_status != &#039;auto-draft&#039; $and&quot;

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: &quot;LPR_Export_Import_Parser&quot;.

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: &quot;_lpie_sort_files&quot;.

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-&gt;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

Relationship Map

Author, categories, issues, domains, and nearby plugins.

28 nodes

Related Plugins

Design Upgrade for LearnDash

7k+ active installs

97
LearnPress – Course Wishlist

20k+ active installs

56
LifterLMS Labs

2k+ active installs

55