WooCommerce Catalog Mode, product enquiry, and request a quote plugin. Hide prices, disable cart, and collect enquiries easily.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
120
9 issue groups
Maintainability
111
11 issue groups
I18n
99
5 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-catalog-enquiry' but got "catalogx".94
- Category
- I18n
- Occurrences
- 94
- Severity
- error
Sample message
Mismatched text domain. Expected 'woocommerce-catalog-enquiry' but got "catalogx".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_product'.72
- Category
- Security
- Occurrences
- 72
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_product'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_product".39
- Category
- Maintainability
- Occurrences
- 39
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_product".
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found TABLES22
- Category
- Security
- Occurrences
- 22
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found TABLES
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.17
- Category
- Maintainability
- Occurrences
- 17
- 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().14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORMaintainabilityblock api version too lowEditor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.
ERRORSecurityDatabase parameter is not escapedUnescaped parameter $now used in $wpdb->get_col()\n$now assigned unsafely at line 211.10
- Category
- Security
- Occurrences
- 10
- Severity
- error
Sample message
Unescaped parameter $now used in $wpdb->get_col()\n$now assigned unsafely at line 211.
WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "display_shop_page_button".7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "display_shop_page_button".
Show 15 moreShow less
ERRORMaintainabilityMissing direct file access protection6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGSecurityInterpolated SQL is not prepared5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $collate at ) $collate;"
ERRORSecurityUnsafe printing function4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityDatabase parameter is not escaped3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Unescaped parameter TABLES[ 'enquiry' ] . "` (\n `id` bigint(20) NOT NULL AUTO_INCREMENT,\n `product_info` text NOT NULL,\n `user_id` bigint(20) NOT NULL DEFAULT 0,\n `user_name` varchar(50) NOT NULL,\n `user_email` varchar(50) NOT NULL,\n `user_additional_fields` text NOT NULL,\n `pin_msg_id` bigint(20) DEFAULT NULL,\n `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\n PRIMARY KEY (`id`)\n ) $collate;"\n ) used in $wpdb->query()
ERRORMaintainabilityDeprecated parameter: get_terms parameter 23
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
The parameter "[ 'hide_empty' => false ]" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
WARNINGSecuritywp redirect wp redirect2
- Category
- Security
- Occurrences
- 2
- 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.
WARNINGMaintainabilityMissing Version2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
ERRORI18nMissing Translators Comment2
- Category
- I18n
- Occurrences
- 2
- 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.
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.
WARNINGMaintainabilityerror log var export1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
var_export() found. Debug code should not normally be used in production.
WARNINGSecurityInput is not sanitized1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$this->_cookie]
WARNINGSecurityRequest data is not unslashed1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
$_COOKIE[$this->_cookie] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nNon Singular String Literal Domain1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $context
ERRORI18nNon Singular String Literal Text1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $default
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "CatalogX - Catalog Mode, Enquiry & Quotes for WooCommerce" is different from the name declared in plugin header "CatalogX — Catalog Mode, Enquiry & Quotes for WooCommerce".
External Connections
Not analyzed yet.
Score History
First score snapshot
v6.0.8
33
Latest
- Findings
- 334
- Errors
- 229
- Warnings
- 105
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 33 | 334 | 229 | 105 | v6.0.8 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.