Custom Upload Dir

Keeps your uploaded files organized in smart folder structures.

v3.4.6ulfbenUpdated Added 5k+ installs88% rating
55
Score
63
Errors
7
Warnings
+0
Change

Category Scores

Security25
Repo89
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

70 findings

I18n

48

4 issue groups

Security

17

6 issue groups

Maintainability

3

3 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'custom-upload-dir' but got 'cud'.22
Category
I18n
Occurrences
22
Severity
error

Sample message

Mismatched text domain. Expected 'custom-upload-dir' but got 'cud'.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value='{$post_type}'>{$post_type}</option>\n"'.10
Category
Security
Occurrences
10
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value='{$post_type}'>{$post_type}</option>\n"'.

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

Sample message

Processing form data without nonce verification.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $options[$current_type]2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $options[$current_type]

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityUsing FILE Using __FILE__ for menu slugs risks exposing filesystem structure.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_SERVER[&#039;REQUEST_TIME&#039;]1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER[&#039;REQUEST_TIME&#039;]

WARNINGSecurityMissing Unslash$_SERVER[&#039;REQUEST_TIME&#039;] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_SERVER[&#039;REQUEST_TIME&#039;] not unslashed before sanitization. Use wp_unslash() or similar

Show 5 more
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;

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.0 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "cud", expected "custom-upload-dir".

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "_wp_upload_dir()" requires WordPress 4.5.0, but your plugin minimum supported version is WordPress 3.9.0.

Score History

First score snapshot

v3.4.6

55

Latest

Findings
70
Errors
63
Warnings
7
Check
2.0.0

Related Plugins