FG Drupal to WordPress

A plugin to migrate articles, stories, pages, categories, tags, images from Drupal to WordPress

v3.95.0KerfredUpdated Added 700 installs92% rating
26
Score
275
Errors
100
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability4

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

375 findings

Security

164

6 issue groups

Maintainability

160

18 issue groups

I18n

37

1 issue group

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

Sample message

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

ERRORI18nMissing Translators CommentA 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.37
Category
I18n
Occurrences
37
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.

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityNot AllowedUse of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $sql17
Category
Security
Occurrences
17
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $sql

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

Sample message

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

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

Sample message

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

ERRORMaintainabilitymysql PDOAccessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: \PDO.10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Accessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: \PDO.

Show 15 more
WARNINGMaintainabilityNon-prefixed global variable5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$debuginfo&quot;.

WARNINGMaintainabilityNon-prefixed function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log trigger error4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta key3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityerror log error log3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "FG Drupal to WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.

WARNINGMaintainabilityDiscouraged PHP function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityNon-prefixed constant2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fputs2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNo PHP code found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

30

External assets

1

Incoming endpoints

1

Notable Domains

fredericgilles.net11 · outbound
paypal.com1 · outbound
wp-cli.org1 · outbound

Platform / Reference Domains

wordpress.org15 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

paypalobjects.com2 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_fgd2wp_importauthenticated

wp_ajax

Score History

First score snapshot

v3.95.0

26

Latest

Findings
375
Errors
275
Warnings
100
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins

Widget Importer & Exporter

200k+ active installs

98
WP Options Importer

6k+ active installs

96
Mystery Themes Demo Importer

7k+ active installs

95
Thememiles Toolset

500 active installs

91
WPML to Polylang

6k+ active installs

90