Code Manager

Write, test and deploy PHP, JavaScript, CSS and HTML code blocks from the WordPress dashboard.

v1.0.47Passionate Programmer PeterUpdated Added 500 installs98% rating
32
Score
217
Errors
261
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability46

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

478 findings

Security

335

9 issue groups

Maintainability

93

13 issue groups

I18n

39

3 issue groups

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

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" data-wp-lists='list:$singular'"'.119
Category
Security
Occurrences
119
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" data-wp-lists='list:$singular'"'.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().36
Category
I18n
Occurrences
36
Severity
error

Sample message

Missing $domain parameter in function call to __().

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

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

Sample message

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

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

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $extra_checks used in $wpdb->get_results()\n$extra_checks assigned unsafely at line 697.17
Category
Security
Occurrences
17
Severity
error

Sample message

Unescaped parameter $extra_checks used in $wpdb->get_results()\n$extra_checks assigned unsafely at line 697.

WARNINGSecurityRequest data is not unslashed$_GET['orderby'] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log var dumpvar_dump() found. Debug code should not normally be used in production.11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

Show 15 more
WARNINGMaintainabilityNon-prefixed function8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_code_manager".

WARNINGMaintainabilityNon-prefixed hook name7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bulk_actions-{$this->screen->id}".

WARNINGSecurityMissing nonce verification6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fwrite4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

ERRORSecurityUnsafe printing function2
Category
Security
Occurrences
2
Severity
error

Sample message

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

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().

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
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.

ERRORI18nText Domain Mismatch2
Category
I18n
Occurrences
2
Severity
error

Sample message

Mismatched text domain. Expected 'code-manager' but got 'wp-data-access'.

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;

ERRORMaintainabilityForbidden PHP function found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function eval() is forbidden

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.

ERRORMaintainabilityNot Allowed1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityDiscouraged PHP function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function ini_set() is discouraged

External Connections

Potential connections found in static code analysis.

34 domains

Outbound calls

194

External assets

2

Incoming endpoints

16

Notable Domains

freemius.com10 · outbound
code-manager.com9 · outbound
php.net6 · outbound
users.freemius.com4 · outbound
benalman.com2 · outbound

Platform / Reference Domains

gnu.org111 · platform/reference
wordpress.org10 · platform/reference
w3.org5 · platform/reference
github.com4 · platform/reference
api.wordpress.org2 · platform/reference
developer.wordpress.org2 · platform/reference
make.wordpress.org2 · platform/reference
core.trac.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_code_manager_exportpublic

wp_ajax

wp_ajax_nopriv_code_manager_get_codepublic

wp_ajax

Admin AJAX endpoints14
admin_post_fs_clone_resolutionauthenticated

admin_post

wp_ajax_code_manager_activate_codeauthenticated

wp_ajax

wp_ajax_code_manager_activate_code_previewauthenticated

wp_ajax

wp_ajax_code_manager_alert_offauthenticated

wp_ajax

wp_ajax_code_manager_code_name_existsauthenticated

wp_ajax

wp_ajax_code_manager_deactivate_code_previewauthenticated

wp_ajax

wp_ajax_code_manager_exportauthenticated

wp_ajax

wp_ajax_code_manager_get_codeauthenticated

wp_ajax

wp_ajax_code_manager_get_code_listauthenticated

wp_ajax

wp_ajax_code_manager_is_code_preview_enabledauthenticated

wp_ajax

wp_ajax_code_manager_reset_previewauthenticated

wp_ajax

wp_ajax_code_manager_update_codeauthenticated

wp_ajax

2 more hidden

Score History

First score snapshot

v1.0.47

32

Latest

Findings
478
Errors
217
Warnings
261
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins