Product Watermark for WooCommerce

Allows you to add watermark to images that applied to products

v3.1.0.5BeRocketUpdated Added 2k+ installs74% rating
23
Score
696
Errors
457
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance96
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,153 findings

Security

572

7 issue groups

Maintainability

270

13 issue groups

I18n

266

4 issue groups

Performance

4

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&utm_term={$cur_plugin->info['plugin_sku']}' target='_blank'>"'.262
Category
Security
Occurrences
262
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"&utm_term={$cur_plugin->info['plugin_sku']}' target='_blank'>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'product-watermark-for-woocommerce' but got "BeRocket_AJAX_domain".251
Category
I18n
Occurrences
251
Severity
error

Sample message

Mismatched text domain. Expected 'product-watermark-for-woocommerce' but got "BeRocket_AJAX_domain".

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['brfeature_description'] not unslashed before sanitization. Use wp_unslash() or similar70
Category
Security
Occurrences
70
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['brfeature_description']58
Category
Security
Occurrences
58
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;48
Category
Maintainability
Occurrences
48
Severity
error

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."24
Category
Maintainability
Occurrences
24
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $feature ..." but found "<?= $feature ..."

Show 15 more
WARNINGSecurityInput is not validated21
Category
Security
Occurrences
21
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version14
Category
Maintainability
Occurrences
14
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.

WARNINGMaintainabilityDynamic hook name13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$hook_name . &#039;_check_type_&#039; . $condition[&#039;type&#039;]&quot;.

WARNINGMaintainabilityNon-prefixed hook name12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;br_watermark_replace_types&quot;.

ERRORMaintainabilityOffloaded Content10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityNot In Footer6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORMaintainabilitydate date5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain5
Category
I18n
Occurrences
5
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment5
Category
I18n
Occurrences
5
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.

ERRORI18nNon Singular String Literal Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $feature['label']

WARNINGMaintainabilityslow db query meta key4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityNon-prefixed constant4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;BR_EE_HIDDEN&quot;.

WARNINGPerformancePost Not In exclude4
Category
Performance
Occurrences
4
Severity
warning

Sample message

Using exclusionary parameters, like exclude, 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.

WARNINGMaintainabilityerror log print r3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.1.0.5

23

Latest

Findings
1,153
Errors
696
Warnings
457
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins