teachPress

Manage your publications with teachPress

v9.0.13winkm89Updated Added 2k+ installs96% rating
23
Score
744
Errors
1,587
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance91
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,331 findings

Security

1,310

10 issue groups

Maintainability

895

13 issue groups

I18n

78

1 issue group

Performance

16

1 issue group

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $db_name403
Category
Security
Occurrences
403
Severity
error

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.284
Category
Maintainability
Occurrences
284
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().274
Category
Maintainability
Occurrences
274
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.175
Category
Security
Occurrences
175
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.157
Category
Security
Occurrences
157
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES['async-upload']124
Category
Security
Occurrences
124
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['async-upload']

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.123
Category
Maintainability
Occurrences
123
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityRequest data is not unslashed$_GET[$field] not unslashed before sanitization. Use wp_unslash() or similar121
Category
Security
Occurrences
121
Severity
warning

Sample message

$_GET[$field] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $charset_collate at " ADD `abstract` TEXT $charset_collate NULL DEFAULT NULL AFTER `crossref`"107
Category
Security
Occurrences
107
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $charset_collate at " ADD `abstract` TEXT $charset_collate NULL DEFAULT NULL AFTER `crossref`"

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $charset_collate used in $wpdb->query()\n$charset_collate used without escaping.97
Category
Security
Occurrences
97
Severity
error

Sample message

Unescaped parameter $charset_collate used in $wpdb->query()\n$charset_collate used without escaping.

Show 15 more
ERRORSecurityOutput is not escaped86
Category
Security
Occurrences
86
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain78
Category
I18n
Occurrences
78
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function70
Category
Maintainability
Occurrences
70
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "sort_tp_publication_type_options".

WARNINGMaintainabilityNon-prefixed class44
Category
Maintainability
Occurrences
44
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "BIBTEXCREATORPARSE".

ERRORMaintainabilitywp function not compatible with requires wp37
Category
Maintainability
Occurrences
37
Severity
error

Sample message

Function "determine_locale()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 3.9.0.

WARNINGSecurityDatabase parameter is not escaped20
Category
Security
Occurrences
20
Severity
warning

Sample message

Unescaped parameter $join used in $wpdb->get_results()\n$join assigned unsafely at line 345.

WARNINGSecurityInput is not validated20
Category
Security
Occurrences
20
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES['async-upload']. Check that the array index exists before using it.

ERRORMaintainabilityMissing direct file access protection18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

WARNINGPerformancePost Not In exclude16
Category
Performance
Occurrences
16
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGMaintainabilityMissing Version15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityDiscouraged PHP function7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

ERRORMaintainabilitydate date7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_print_scripts".

WARNINGMaintainabilityNon-prefixed global variable5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log trigger error5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

Score History

First score snapshot

v9.0.13

23

Latest

Findings
2,331
Errors
744
Warnings
1,587
Check
2.0.0

Related Plugins

Footnotes Made Easy

2k+ active installs

100
Zotpress

2k+ active installs

39