TBThemes Theme Import

Official Demo import plugin for BootstrapThemes themes.

v2.3.1The_Bootstrap_ThemesUpdated Added 500 installs0% rating
35
Score
84
Errors
48
Warnings
+0
Change

Category Scores

Security0
Repo85
Performance100
Maintainability62

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

132 findings

Security

48

8 issue groups

Maintainability

44

13 issue groups

I18n

38

3 issue groups

Supply Chain

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'tbthemes-demo-import' but got '@@textdomain'.29
Category
I18n
Occurrences
29
Severity
error

Sample message

Mismatched text domain. Expected 'tbthemes-demo-import' but got '@@textdomain'.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.19
Category
Security
Occurrences
19
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.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityRequest data is not unslashed$_COOKIE[AUTH_COOKIE] not unslashed before sanitization. Use wp_unslash() or similar8
Category
Security
Occurrences
8
Severity
warning

Sample message

$_COOKIE[AUTH_COOKIE] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityDeprecated function: get_page_by_titleget_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[AUTH_COOKIE]7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[AUTH_COOKIE]

ERRORMaintainabilityunlink unlinkunlink() is discouraged. Use wp_delete_file() to delete a file.7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

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

Sample message

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

Show 15 more
WARNINGMaintainabilityNo Caching4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecurityOutput is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed class2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilityMissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

Unescaped parameter $original_id used in $wpdb->get_var()\n$original_id used without escaping.

ERRORSecuritySQL query is not prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORMaintainabilityDeprecated parameter: wp_upload_bits parameter 21
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "0" at position #2 of wp_upload_bits() has been deprecated since WordPress version 2.0.0. Instead do not pass the parameter.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $item['name']

ERRORMaintainabilityallow unfiltered uploads detected1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

`ALLOW_UNFILTERED_UPLOADS` is not permitted. Setting this constant to true will allow the user to upload any type of file (including PHP and other executables), creating serious potential security risks.

ERRORSupply ChainHidden files included1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "TBThemes Theme Import" is different from the name declared in plugin header "TBThemes Demo Import".

External Connections

Potential connections found in static code analysis.

9 domains

Outbound calls

16

External assets

0

Incoming endpoints

1

Notable Domains

merlinwp.com2 · outbound
purl.org2 · outbound
api.github.com1 · outbound
jsfiddle.net1 · outbound

Platform / Reference Domains

wordpress.org3 · platform/reference
developer.wordpress.org1 · platform/reference
github.com1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_demo_content__importauthenticated

wp_ajax

Score History

First score snapshot

v2.3.1

35

Latest

Findings
132
Errors
84
Warnings
48
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins

WPInterface Add-ons

1k+ active installs

100
Add From Server Reloaded

2k+ active installs

99
Crafthemes Demo Import

400 active installs

99
Custom Post Exporter

3k+ active installs

99
Solace Extra

10k+ active installs

99