LearnPress – WordPress LMS Plugin for Create and Sell Online Courses

A WordPress LMS Plugin to create WordPress Learning Management System. Turn your WordPress to LMS WordPress Website with Courses, Lessons, Quizzes &am …

v4.4.0ThimPressUpdated Added 70k+ installs86% rating20% support resolved
22
Score
2,361
Errors
3,384
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance87
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

5,745 findings

Security

2,654

12 issue groups

Maintainability

2,513

11 issue groups

I18n

318

2 issue groups

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$action_attrs".887
Category
Maintainability
Occurrences
887
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$action_attrs".

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" | <a href='{$addon->link_doc}' target='_blank' rel='noopener'>Documentation</a>"'.664
Category
Security
Occurrences
664
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" | <a href='{$addon->link_doc}' target='_blank' rel='noopener'>Documentation</a>"'.

ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $col_name424
Category
Security
Occurrences
424
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $col_name

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Abstract_Block_Template&quot;.333
Category
Maintainability
Occurrences
333
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Abstract_Block_Template&quot;.

WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $AND at \t\t\t$AND\n319
Category
Security
Occurrences
319
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $AND at \t\t\t$AND\n

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;244
Category
Maintainability
Occurrences
244
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$addon_label'.243
Category
Security
Occurrences
243
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$addon_label'.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;lp/courses-json/filter/order_by/&#039; . $filter-&gt;order_by&quot;.240
Category
Maintainability
Occurrences
240
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;lp/courses-json/filter/order_by/&#039; . $filter-&gt;order_by&quot;.

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.234
Category
Maintainability
Occurrences
234
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

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.218
Category
I18n
Occurrences
218
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.

Show 15 more
ERRORSecurityUnsafe Printing Function206
Category
Security
Occurrences
206
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityRecommended199
Category
Security
Occurrences
199
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDirect Query194
Category
Maintainability
Occurrences
194
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching170
Category
Maintainability
Occurrences
170
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityInput Not Sanitized149
Category
Security
Occurrences
149
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$name]

WARNINGSecurityMissing Unslash147
Category
Security
Occurrences
147
Severity
warning

Sample message

$_COOKIE[$name] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityUnescaped DBParameter121
Category
Security
Occurrences
121
Severity
error

Sample message

Unescaped parameter $column used in $wpdb->get_row()\n$column assigned unsafely at line 266.

WARNINGSecurityMissing100
Category
Security
Occurrences
100
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg Domain100
Category
I18n
Occurrences
100
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGMaintainabilityNon Prefixed Constant Found71
Category
Maintainability
Occurrences
71
Severity
warning

Sample message

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

WARNINGMaintainabilityNo Code Found65
Category
Maintainability
Occurrences
65
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGMaintainabilityNon Prefixed Function Found44
Category
Maintainability
Occurrences
44
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;LP&quot;.

WARNINGSecurityUnfinished Prepare43
Category
Security
Occurrences
43
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

WARNINGSecurityUnescaped DBParameter39
Category
Security
Occurrences
39
Severity
warning

Sample message

Unescaped parameter $name_table used in $wpdb-&gt;query()

ERRORMaintainabilitydate date31
Category
Maintainability
Occurrences
31
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

Score History

First score snapshot

v4.4.0

22

Latest

Findings
5,745
Errors
2,361
Warnings
3,384
Check
2.0.0

Related Plugins

Design Upgrade for LearnDash

7k+ active installs

97
PowerPack for LearnDash

1k+ active installs

97
76
Resume Builder

1k+ active installs

74