PostLinks

(Beta) An extension of Fields, a custom field management plugin. PostLinks provides additional field types such as Series, PhotoLink and PostLink.

v0.2KhanhUpdated Added 700 installs0% rating
38
Score
107
Errors
10
Warnings
+0
Change

Category Scores

Security0
Repo80
Performance100
Maintainability82

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

117 findings

Security

69

8 issue groups

I18n

34

4 issue groups

Maintainability

10

8 issue groups

Repo Compliance

4

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" value='{$post_type->name}'$checked /><label class='input-label' for='post-type-$i'>"'.56
Category
Security
Occurrences
56
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" value='{$post_type->name}'$checked /><label class='input-label' for='post-type-$i'>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'postlinks' but got 'Links'.31
Category
I18n
Occurrences
31
Severity
error

Sample message

Mismatched text domain. Expected 'postlinks' but got 'Links'.

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

Sample message

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

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityNo PHP code foundNo PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.1
Category
Maintainability
Occurrences
1
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().1
Category
Maintainability
Occurrences
1
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 $query1
Category
Security
Occurrences
1
Severity
error

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 14 more
WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[META_FIELD][$field[&#039;key&#039;] . &#039;-calce-series-part&#039;]

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[META_FIELD][$field[&#039;key&#039;] . &#039;-calce-series-part&#039;]. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_POST[META_FIELD][$field[&#039;key&#039;] . &#039;-calce-series-part&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityDeprecated parameter: get_terms parameter 21
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The parameter &quot;$args&quot; at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORI18nDeprecated parameter: load_plugin_textdomain parameter 21
Category
I18n
Occurrences
1
Severity
error

Sample message

The parameter "TEMPLATEPATH . '/languages'" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Instead do not pass the parameter.

ERRORMaintainabilityDiscouraged WordPress constant usage: TEMPLATEPATH1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found usage of constant "TEMPLATEPATH". Use get_template_directory() instead.

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
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.

ERRORI18nInterpolated Variable Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must not contain interpolated variables or expressions. Found: $postID

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 3.0 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

ERRORMaintainabilitystable tag mismatch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Mismatched Stable Tag: 0.5 != 0.2. Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

External Connections

Potential connections found in static code analysis.

3 domains

Outbound calls

4

External assets

1

Incoming endpoints

2

Notable Domains

calce.net3 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

10.1.1.81 · asset

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints2
wp_ajax_ls_get_postsauthenticated

wp_ajax

wp_ajax_ls_get_titleauthenticated

wp_ajax

Score History

First score snapshot

v0.2

38

Latest

Findings
117
Errors
107
Warnings
10
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Default Admin Color Scheme

800 active installs

100
PufferDesk

0 active installs

100
Redux Framework

900k+ active installs

100
Simply Show Hooks

2k+ active installs

100
Add Dashboard Columns

400 active installs

99
Admin Robots.txt Editor

400 active installs

99