Sliced Invoices – WordPress Invoice Plugin

A WordPress invoicing plugin for creating invoices and quotes. Online payments, manage clients, reports, exports, taxes & more.

v3.10.0SlicedInvoicesUpdated Added 5k+ installs92% rating100% support resolved
26
Score
684
Errors
455
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability10

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,139 findings

Security

711

8 issue groups

I18n

250

4 issue groups

Maintainability

151

13 issue groups

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

Sample message

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

WARNINGSecurityMissing Unslash$_GET[$type . '_status'] not unslashed before sanitization. Use wp_unslash() or similar119
Category
Security
Occurrences
119
Severity
warning

Sample message

$_GET[$type . '_status'] not unslashed before sanitization. Use wp_unslash() or similar

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

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.92
Category
Security
Occurrences
92
Severity
error

Sample message

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

WARNINGSecurityRecommendedProcessing form data without nonce verification.80
Category
Security
Occurrences
80
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissingProcessing form data without nonce verification.70
Category
Security
Occurrences
70
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().70
Category
I18n
Occurrences
70
Severity
error

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.62
Category
Maintainability
Occurrences
62
Severity
error

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['csv_import']['tmp_name']49
Category
Security
Occurrences
49
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['csv_import']['tmp_name']

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.38
Category
Security
Occurrences
38
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.

Show 15 more
ERRORI18nUnordered Placeholders Text37
Category
I18n
Occurrences
37
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$1s, %2$2s", but got "%1s, %2s" in '%1s and %2s'.

ERRORI18nNon Singular String Literal Text36
Category
I18n
Occurrences
36
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $gateway

WARNINGMaintainabilityslow db query meta query21
Category
Maintainability
Occurrences
21
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityDirect Query16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta key7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityNon Prefixed Hookname Found6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'get_template_part_' . $slug".

WARNINGMaintainabilityslow db query tax query5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORMaintainabilityfile system operations fclose4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

WARNINGMaintainabilityDiscouraged3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityNon Prefixed Constant Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "SI_STRIPE_FILE".

WARNINGMaintainabilityNon Prefixed Function Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityGet terms Param2Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The parameter "array( 'hide_empty' => 0 )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

WARNINGMaintainabilityMaybe ASPShort Open Tag Found2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Possible use of ASP style short opening tags detected; found: <%= value %> ",\r\n

Score History

First score snapshot

v3.10.0

26

Latest

Findings
1,139
Errors
684
Warnings
455
Check
2.0.0

Related Plugins