Ebook Store

Stylish and modern ebook seller plugin, with 3D book preview, optional preview file for each book, automated email delivery and order processing.

v6.05motov.netUpdated Added 700 installs88% rating0% support resolved
21
Score
666
Errors
1,087
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,753 findings

Security

779

8 issue groups

Maintainability

761

14 issue groups

I18n

98

3 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$QSWPOptions".439
Category
Maintainability
Occurrences
439
Severity
warning

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value=\"$ebook_store_buy_link_font_size\"$selected>$ebook_store_buy_link_font_size"'.244
Category
Security
Occurrences
244
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value=\"$ebook_store_buy_link_font_size\"$selected>$ebook_store_buy_link_font_size"'.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES[&#039;ebook_wp_custom_attachment&#039;][&#039;name&#039;]. Check that the array index exists before using it.124
Category
Security
Occurrences
124
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[&#039;ebook_wp_custom_attachment&#039;][&#039;name&#039;]. Check that the array index exists before using it.

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_language_attributes()" requires WordPress 4.3.0, but your plugin minimum supported version is WordPress 3.5.1.121
Category
Maintainability
Occurrences
121
Severity
error

Sample message

Function "get_language_attributes()" requires WordPress 4.3.0, but your plugin minimum supported version is WordPress 3.5.1.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[&#039;wpam_id&#039;]95
Category
Security
Occurrences
95
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[&#039;wpam_id&#039;]

WARNINGSecurityRequest data is not unslashed$_COOKIE[&#039;wpam_id&#039;] not unslashed before sanitization. Use wp_unslash() or similar69
Category
Security
Occurrences
69
Severity
warning

Sample message

$_COOKIE[&#039;wpam_id&#039;] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

Processing form data without nonce verification.

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

ERRORMaintainabilitycurl curl setoptUsing cURL functions is highly discouraged. Use wp_remote_get() instead.39
Category
Maintainability
Occurrences
39
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

Show 15 more
WARNINGMaintainabilityNon-prefixed function31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

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

ERRORSecuritySetting is missing a sanitization callback28
Category
Security
Occurrences
28
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityerror log error log28
Category
Maintainability
Occurrences
28
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection28
Category
Maintainability
Occurrences
28
Severity
error

Sample message

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

ERRORI18nText Domain Mismatch23
Category
I18n
Occurrences
23
Severity
error

Sample message

Mismatched text domain. Expected 'ebook-store' but got 'ebook-store-extension'.

WARNINGMaintainabilityMissing Version17
Category
Maintainability
Occurrences
17
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.

ERRORSecurityUnsafe printing function13
Category
Security
Occurrences
13
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain13
Category
I18n
Occurrences
13
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed class10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta query8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilitydate date8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

ERRORMaintainabilityunlink unlink8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilityDiscouraged PHP function7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityprevent path disclosure error reporting7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

error_reporting() can lead to full path disclosure.

External Connections

Potential connections found in static code analysis.

66 domains

Outbound calls

278

External assets

9

Incoming endpoints

13

Notable Domains

setasign.com60 · outbound
shopfiles.com14 · outbound
chart.apis.google.com12 · outbound
youtu.be9 · outbound
fpdf.org8 · outbound
apache.org5 · outbound

Platform / Reference Domains

opensource.org56 · platform/reference
w3.org19 · platform/reference
github.com14 · platform/reference
gnu.org2 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

purl.org4 · asset + outbound
ajax.googleapis.com2 · asset + outbound
googletagmanager.com2 · asset + outbound

Incoming Endpoints

admin_post_nopriv_ebook_store_test_encryptionpublic

admin_post

/wp-json/ebook-store/v1/adyen-webhookREST

register_rest_route

/wp-json/ebook-store/v1/stripe-webhookREST

register_rest_route

Admin AJAX endpoints8
admin_post_ebook_store_test_encryptionauthenticated

admin_post

admin_post_ebook_store_refund_orderauthenticated

admin_post

admin_post_ebook_store_resend_email_logauthenticated

admin_post

admin_post_ebook_store_resend_order_deliveryauthenticated

admin_post

admin_post_ebook_store_reset_order_downloadsauthenticated

admin_post

admin_post_ebook_store_setup_wc_autocompleteauthenticated

admin_post

wp_ajax_ebook_store_import_books_processauthenticated

wp_ajax

wp_ajax_ebook_store_import_books_uploadauthenticated

wp_ajax

Score History

First score snapshot

v6.05

21

Latest

Findings
1,753
Errors
666
Warnings
1,087
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins