Disable Cart Fragments by Optimocha

A better way to disable WooCommerce's cart fragments script, and re-enqueue it when the cart is updated. Works with all caching plugins.

v2.4.1OptimochaUpdated Added 10k+ installs98% rating
57
Score
8
Errors
13
Warnings
+0
Change

Category Scores

Security26
Repo83
Performance100
Maintainability99

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

21 findings

Security

17

6 issue groups

Repo Compliance

3

3 issue groups

Maintainability

1

1 issue group

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['notice_id']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['notice_id']

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

Sample message

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

WARNINGSecurityMissing Unslash$_GET['notice_id'] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilitymismatched plugin namePlugin name "Disable Cart Fragments by Optimocha" is different from the name declared in plugin header "Disable Cart Fragments".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Disable Cart Fragments by Optimocha" is different from the name declared in plugin header "Disable Cart Fragments".

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Complianceplugin header invalid requires phpThe "Requires PHP" header in the plugin file should only contain a PHP version such as "5.2.4" or "7.0".1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Requires PHP" header in the plugin file should only contain a PHP version such as "5.2.4" or "7.0".

ERRORRepo Compliancereadme mismatched header requires phpMismatched Requires PHP: 5.6 != 5.6 or later. "Requires PHP" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires PHP: 5.6 != 5.6 or later. "Requires PHP" needs to be exactly the same with that in your main plugin file's header.

Score History

First score snapshot

v2.4.1

57

Latest

Findings
21
Errors
8
Warnings
13
Check
2.0.0

Related Plugins