Images Optimize and Upload CF7

Allows uploading and client-side compression of multiple images in Contact Form 7.

v2.3.1Damir AkhmedshinUpdated Added 600 installs96% rating0% support resolved
37
Score
130
Errors
36
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability70

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

166 findings

I18n

99

5 issue groups

Security

40

6 issue groups

Maintainability

25

8 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: YR3K_UPLOAD_REGISTRATION_NAME79
Category
I18n
Occurrences
79
Severity
error

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$htmlAttrSelected'.20
Category
Security
Occurrences
20
Severity
error

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'images-optimize-and-upload-cf7' but got 'contact-form-7'.9
Category
I18n
Occurrences
9
Severity
error

Sample message

Mismatched text domain. Expected 'images-optimize-and-upload-cf7' but got 'contact-form-7'.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "Yr3kUploaderAdmin".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Yr3kUploaderAdmin".

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES[self::KEY_FILES]4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[self::KEY_FILES]

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

Sample message

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

Show 11 more
ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

WARNINGSecurityRequest data is not unslashed2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_POST[$name] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityfile system operations rmdir2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityunlink unlink2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORMaintainabilityForbidden PHP function found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function move_uploaded_file() is forbidden

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 hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpcf7_upload_file_name".

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations chmod1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceinvalid license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has an invalid license declared. Please update your readme with a valid SPDX license identifier.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

9

External assets

0

Incoming endpoints

2

Notable Domains

blueimp.net1 · outbound
stackoverflow.com1 · outbound
unpkg.com1 · outbound

Platform / Reference Domains

github.com4 · platform/reference
opensource.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_yr_api_uploaderpublic

wp_ajax

Admin AJAX endpoints1
wp_ajax_yr_api_uploaderauthenticated

wp_ajax

Score History

First score snapshot

v2.3.1

37

Latest

Findings
166
Errors
130
Warnings
36
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins

Disable Lazy Load

10k+ active installs

100
DS CF7 Math Captcha

10k+ active installs

100
100
Image Placeholders

60k+ active installs

100