Ambrosite Next/Previous Post Link Plus

Upgrades the next/previous post link functions to reorder or loop adjacent post navigation links, display post thumbnails, and customize link format.

v2.4ambrositeUpdated Added 5k+ installs98% rating
69
Score
12
Errors
24
Warnings
+0
Change

Category Scores

Security51
Repo86
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

36 findings

Security

22

4 issue groups

Maintainability

9

5 issue groups

Repo Compliance

3

3 issue groups

I18n

2

1 issue group

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $ex_cats_sql at "WHERE ( $order_by $op $order_format OR $order_2nd $op $order_format2 AND $order_by = $order_format ) AND p.post_type IN ($post_type) AND p.post_status = 'publish' $in_same_term_sql $in_same_author_sql $in_same_meta_sql $ex_cats_sql $in_cats_sql $ex_posts_sql $in_posts_sql"19
Category
Security
Occurrences
19
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $ex_cats_sql at "WHERE ( $order_by $op $order_format OR $order_2nd $op $order_format2 AND $order_by = $order_format ) AND p.post_type IN ($post_type) AND p.post_status = 'publish' $in_same_term_sql $in_same_author_sql $in_same_meta_sql $ex_cats_sql $in_cats_sql $ex_posts_sql $in_posts_sql"

ERRORMaintainabilitywp function not compatible with requires wpFunction "esc_attr()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.5.0.5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Function "esc_attr()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.5.0.

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

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $join used in $wpdb->get_results()\n$join assigned unsafely at line 186.1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

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.

WARNINGSecurityUnfinished PrepareReplacement variables found, but no valid placeholders found in the query.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'.1
Category
Security
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

ERRORRepo Complianceno licenseMissing "License". Please update your readme with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

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

Sample message

Tested up to: 3.3 < 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.

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.

ERRORMaintainabilitytrunk stable tag1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". 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.

Score History

First score snapshot

v2.4

69

Latest

Findings
36
Errors
12
Warnings
24
Check
2.0.0

Related Plugins

Hyperlink Group Block

7k+ active installs

100
99
Anchor Block

2k+ active installs

99
Custom Post Exporter

3k+ active installs

99
Header and Footer Scripts

200k+ active installs

99