Search & Filter

Search and Filtering for Custom Posts, Categories, Tags, Taxonomies, Post Dates and Post Types

v1.2.18Code AmpUpdated Added 50k+ installs90% rating
69
Score
21
Errors
28
Warnings
+0
Change

Category Scores

Security54
Repo94
Performance100
Maintainability78

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

49 findings

Maintainability

26

7 issue groups

Security

14

4 issue groups

I18n

8

4 issue groups

Repo Compliance

1

1 issue group

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['_searchandfilter_nonce']9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['_searchandfilter_nonce']

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_unslash()" requires WordPress 3.6.0, but your plugin minimum supported version is WordPress 3.5.0.9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

Function "wp_unslash()" requires WordPress 3.6.0, but your plugin minimum supported version is WordPress 3.5.0.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "OF_Post_Type_Table".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "OF_Post_Type_Table".

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

Sample message

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

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

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['_searchandfilter_nonce'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_POST['_searchandfilter_nonce'] not unslashed before sanitization. Use wp_unslash() or similar

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;

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "search_filter_admin_notice_script".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

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

Show 6 more
WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORSecurityOutput is not escaped1
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 'SEARCHANDFILTER_PLUGIN_URL'.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

ERRORI18nText Domain Mismatch1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'search-filter' but got 'textdomain'.

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

Sample message

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

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "searchandfilter", expected "search-filter".

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.2.18

69

Latest

Findings
49
Errors
21
Warnings
28
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Category Icon

2k+ active installs

100
Pages with category and tag

60k+ active installs

100
Simply Show Hooks

2k+ active installs

100