CSV Importer

Import posts from CSV files into WordPress.

v0.4.2SoflyyUpdated Added 3k+ installs84% rating
54
Score
24
Errors
11
Warnings
+0
Change

Category Scores

Security31
Repo83
Performance100
Maintainability71

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

35 findings

Maintainability

20

12 issue groups

Security

10

8 issue groups

Repo Compliance

3

3 issue groups

I18n

2

1 issue group

ERRORMaintainabilityfile system operations fcloseFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

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;

WARNINGMaintainabilityerror log trigger errortrigger_error() found. Debug code should not normally be used in production.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES['csv_import']['tmp_name']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['csv_import']['tmp_name']

ERRORMaintainabilityfile system operations fopenFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'csv-importer' but got 'csv_importer'.2
Category
I18n
Occurrences
2
Severity
error

Sample message

Mismatched text domain. Expected 'csv-importer' but got 'csv_importer'.

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.

ERRORMaintainabilitytimezone change date default timezone setUsing date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Fixture not found: '$key' "'.1
Category
Security
Occurrences
1
Severity
error

Sample message

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

Show 14 more
ERRORSecurityOutput is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

ERRORSecurityUnsafe printing function1
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'.

WARNINGSecurityPlugin menu slug uses __FILE__1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fread1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fwrite1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityDeprecated function: get_userdatabylogin1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

get_userdatabylogin() has been deprecated since WordPress version 3.3.0. Use get_user_by('login') instead.

ERRORMaintainabilityDeprecated function: is_taxonomy1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

is_taxonomy() has been deprecated since WordPress version 3.0.0. Use taxonomy_exists() instead.

ERRORMaintainabilityDeprecated function: is_term1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

is_term() has been deprecated since WordPress version 3.0.0. Use term_exists() instead.

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
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.

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.9 < 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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v0.4.2

54

Latest

Findings
35
Errors
24
Warnings
11
Check
2.0.0

Related Plugins

Add From Server Reloaded

2k+ active installs

99
Custom Post Exporter

3k+ active installs

99
Solace Extra

10k+ active installs

99
TutorMate

10k+ active installs

98
Widget Importer & Exporter

200k+ active installs

98