Cornerstone

Enhanced content management for WordPress

v0.8.1ArchetypedUpdated Added 30k+ installs80% rating
34
Score
161
Errors
174
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability57

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

335 findings

Security

220

11 issue groups

I18n

75

5 issue groups

Maintainability

30

9 issue groups

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET[$section_param] not unslashed before sanitization. Use wp_unslash() or similar34
Category
Security
Occurrences
34
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

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'.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Use of a direct database call is discouraged.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $_GET['page']7
Category
I18n
Occurrences
7
Severity
error

Sample message

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

Show 15 more
WARNINGMaintainabilityNo Caching5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

ERRORMaintainabilityForbidden PHP function found4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

The use of function create_function() is forbidden

ERRORMaintainabilitystrip tags strip tags4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORSecurityDatabase parameter is not escaped3
Category
Security
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityparse url parse url3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORI18nSingle Underscore Get Text Function3
Category
I18n
Occurrences
3
Severity
error

Sample message

Found single-underscore "_()" function when double-underscore expected.

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORSecuritySQL query is not prepared2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
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 function: screen_icon2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

screen_icon() has been deprecated since WordPress version 3.8.0.

WARNINGMaintainabilityMixed line endings1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

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.

WARNINGSecurityInterpolated SQL is not prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $post->ID at "SELECT COUNT(*) FROM $wpdb->posts WHERE ID = $post->ID"

ERRORMaintainabilityDeprecated function: get_post_to_edit1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

get_post_to_edit() has been deprecated since WordPress version 3.5.0. Use get_post() instead.

External Connections

Not analyzed yet.

Score History

First score snapshot

v0.8.1

34

Latest

Findings
335
Errors
161
Warnings
174
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

eCommerce Companion

6k+ active installs

100
Specia Companion

4k+ active installs

99
Clever Fox

30k+ active installs

98
List categories

5k+ active installs

97
Table of Contents Plus

200k+ active installs

95
Page Excerpt

3k+ active installs

81