With WooCommerce Subscription, turn your physical or online store into a WooCommerce product subscription store and avail recurring revenue.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
1,120
13 issue groups
Security
68
5 issue groups
I18n
1
1 issue group
Performance
1
1 issue group
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activated".598
- Category
- Maintainability
- Occurrences
- 598
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activated".
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".289
- Category
- Maintainability
- Occurrences
- 289
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_subscriptions_for_woocommerce".132
- Category
- Maintainability
- Occurrences
- 132
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_subscriptions_for_woocommerce".
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.49
- Category
- Security
- Occurrences
- 49
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Wps_Paypal_Integration".35
- Category
- Maintainability
- Occurrences
- 35
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Wps_Paypal_Integration".
WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.21
- Category
- Maintainability
- Occurrences
- 21
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WOOCOMMERCE_SUBSCRIPTIONS_PRO_BASE_FILE".17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WOOCOMMERCE_SUBSCRIPTIONS_PRO_BASE_FILE".
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['page']7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['page']
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.6
- Category
- Maintainability
- Occurrences
- 6
- 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().6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Show 11 moreShow less
WARNINGMaintainabilityslow db query meta key6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query meta value6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of meta_value, possible slow query.
WARNINGSecurityRequest data is not unslashed6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityDatabase parameter is not escaped3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Unescaped parameter $sql used in $wpdb->get_col()\n$sql assigned unsafely at line 1193.
WARNINGSecurityInput is not validated3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.
WARNINGMaintainabilityslow db query tax query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
WARNINGI18nDiscouraged text-domain loading1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
WARNINGMaintainabilityNon-prefixed global variable1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "$key".
WARNINGPerformancePost Not In post not in1
- Category
- Performance
- Occurrences
- 1
- Severity
- warning
Sample message
Using exclusionary parameters, like post__not_in, 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.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Subscriptions for WooCommerce" is different from the name declared in plugin header "Subscriptions For WooCommerce".
ERRORRepo Compliancemismatched tested up to header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched "Tested up to": 7.1 != 7.0. The "Tested up to" value in the readme file must match the "Tested up to" value in the plugin header. If the plugin header has a "Tested up to" value, it will override the readme value, which can cause confusion.
Score History
2 score snapshots
v2.0.0
30
Latest
- Findings
- 1,191
- Errors
- 1
- Warnings
- 1,190
- Check
- 2.0.0
v1.9.8
26
Score
- Findings
- 798
- Errors
- 42
- Warnings
- 756
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 30 | 1,191 | 1 | 1,190 | v2.0.0 | 2.0.0 |
| 26 | 798 | 42 | 756 | v1.9.8 | 2.0.0 |