PNG to JPG

Convert PNG images to JPG, free up web space and speed up your webpage

v4.5kubiqUpdated Added 9k+ installs94% rating
37
Score
130
Errors
173
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability66

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

303 findings

Security

188

11 issue groups

Maintainability

60

9 issue groups

I18n

52

5 issue groups

WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable $table_name at \t\t\t\t\tUPDATE $table_name \r\n72
Category
Security
Occurrences
72
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $table_name at \t\t\t\t\tUPDATE $table_name \r\n

ERRORI18nText Domain MismatchMismatched text domain. Expected 'png-to-jpg' but got 'better-image-sizes'.39
Category
I18n
Occurrences
39
Severity
error

Sample message

Mismatched text domain. Expected 'png-to-jpg' but got 'better-image-sizes'.

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.24
Category
Maintainability
Occurrences
24
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().24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityUnescaped DBParameterUnescaped parameter $table_name used in $wpdb->query()\n$table_name assigned unsafely at line 1022.15
Category
Security
Occurrences
15
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb->query()\n$table_name assigned unsafely at line 1022.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

Sample message

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

Show 15 more
WARNINGSecurityMissing Unslash7
Category
Security
Occurrences
7
Severity
warning

Sample message

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

ERRORSecurityUnescaped DBParameter4
Category
Security
Occurrences
4
Severity
error

Sample message

Unescaped parameter $old used in $wpdb->query()\n$old assigned unsafely at line 895.

WARNINGSecurityMissing4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not Validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlink4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "get_current_screen()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.1.

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.

WARNINGI18nload plugin textdomain Found1
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 Function Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "convert_stats".

WARNINGMaintainabilityNon Prefixed Hookname Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityUsing FILE 1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

ERRORMaintainabilityfile system operations fclose1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORI18nLoad plugin textdomain Param2Found1
Category
I18n
Occurrences
1
Severity
error

Sample message

The parameter "FALSE" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.

ERRORMaintainabilitymissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v4.5

37

Latest

Findings
303
Errors
130
Warnings
173
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
100
Default Featured Image

60k+ active installs

99
Favicon Rotator

20k+ active installs

99
Featured Image

1k+ active installs

99
Image Hotspot by DevVN

30k+ active installs

99