Century ToolKit

ToolKit for WordPress themes and demo content importer for themes.

v1.2.1Theme CenturyUpdated Added 800 installs0% rating
33
Score
118
Errors
78
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability52

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

196 findings

Security

119

7 issue groups

Maintainability

47

15 issue groups

I18n

24

3 issue groups

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

Sample message

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

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

WARNINGSecurityRequest data is not unslashed$_GET['demo_data_nonce'] not unslashed before sanitization. Use wp_unslash() or similar14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['demo_data_nonce']. Check that the array index exists before using it.12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "import_allow_create_users".9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

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

Sample message

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

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.

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s “%s” already exists.'.5
Category
I18n
Occurrences
5
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.'.

Show 15 more
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".

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDirect Query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fclose3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

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

Sample message

Function "add_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.0.0.

WARNINGMaintainabilityABSPATHDetected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

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: "IMPORT_DEBUG".

WARNINGMaintainabilityNon-prefixed global variable2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$century-toolkit-instance".

ERRORMaintainabilityfile system operations fwrite2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

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;

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.

WARNINGMaintainabilityDiscouraged PHP function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

13

External assets

0

Incoming endpoints

8

Notable Domains

purl.org2 · outbound
themecentury.com2 · outbound

Platform / Reference Domains

wordpress.org6 · platform/reference
gnu.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints8
wp_ajax_century_toolkit_after_importauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_get_demo_dataauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_get_import_dataauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_import_formsauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_import_theme_settingsauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_import_widgetsauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_import_xmlauthenticated

wp_ajax

wp_ajax_century_toolkit_ajax_required_plugins_activateauthenticated

wp_ajax

Score History

First score snapshot

v1.2.1

33

Latest

Findings
196
Errors
118
Warnings
78
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins

Hide Drafts in Menus

1k+ active installs

100
Add From Server Reloaded

2k+ active installs

99
AIKTP

3k+ active installs

99
Better Aria Label Support

5k+ active installs

99
99