Di Themes Demo Site Importer

Di Themes Demo Site Importer plugin can be used to import the demo website developed by Di Themes.

v1.2Di ThemesUpdated Added 1k+ installs0% rating
29
Score
343
Errors
183
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability26

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

526 findings

I18n

248

4 issue groups

Maintainability

145

14 issue groups

Security

126

7 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'di-themes-demo-site-importer' but got 'di-dtdsi'.195
Category
I18n
Occurrences
195
Severity
error

Sample message

Mismatched text domain. Expected 'di-themes-demo-site-importer' but got 'di-dtdsi'.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'customize_save_' . $key".74
Category
Maintainability
Occurrences
74
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'customize_save_' . $key".

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

Sample message

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

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.41
Category
I18n
Occurrences
41
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.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityDeprecated function: get_page_by_titleget_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

get_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.

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

Sample message

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

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s “%s” already exists.'.11
Category
I18n
Occurrences
11
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s “%s” already exists.'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['demo_data_nonce']10
Category
Security
Occurrences
10
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityRequest data is not unslashed10
Category
Security
Occurrences
10
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlink10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

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

WARNINGSecurityInput is not validated9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

WARNINGSecurityNonce verification recommended7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed constant5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "IMPORT_DEBUG".

WARNINGMaintainabilityDiscouraged PHP function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon-prefixed class4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

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

Sample message

Function "wp_slash_strings_only()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 5.2.0.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityDynamic hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fclose2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

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.

External Connections

Potential connections found in static code analysis.

13 domains

Outbound calls

43

External assets

0

Incoming endpoints

10

Notable Domains

demo.dithemes.com8 · outbound
php-fig.org3 · outbound
proteusthemes.com3 · outbound
purl.org2 · outbound
tools.ietf.org2 · outbound
dithemes.com1 · outbound

Platform / Reference Domains

wordpress.org12 · platform/reference
github.com6 · platform/reference
gnu.org2 · platform/reference
core.trac.wordpress.org1 · platform/reference
w3.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints10
wp_ajax_dmdi_after_importauthenticated

wp_ajax

wp_ajax_dmdi_ajax_get_demo_dataauthenticated

wp_ajax

wp_ajax_dmdi_ajax_get_import_dataauthenticated

wp_ajax

wp_ajax_dmdi_ajax_import_theme_settingsauthenticated

wp_ajax

wp_ajax_dmdi_ajax_import_widgetsauthenticated

wp_ajax

wp_ajax_dmdi_ajax_import_xmlauthenticated

wp_ajax

wp_ajax_dmdi_ajax_required_plugins_activateauthenticated

wp_ajax

wp_ajax_ocdi_after_import_dataauthenticated

wp_ajax

wp_ajax_ocdi_import_customizer_dataauthenticated

wp_ajax

wp_ajax_ocdi_import_demo_dataauthenticated

wp_ajax

Score History

First score snapshot

v1.2

29

Latest

Findings
526
Errors
343
Warnings
183
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins

Child Theme Check

800 active installs

100
Gantry 5 Framework

7k+ active installs

100
Generate Child Theme

9k+ active installs

100
Add From Server Reloaded

3k+ active installs

99
Crafthemes Demo Import

400 active installs

99
Custom Post Exporter

3k+ active installs

99