AnsPress – Question and answer

A free question and answer plugin for WordPress. Made with developers in mind, and highly customizable.

v4.4.4lattepressUpdated Added 3k+ installs78% rating
35
Score
22
Errors
778
Warnings
+0
Change

Category Scores

Security12
Repo89
Performance100
Maintainability23

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

800 findings

Maintainability

764

13 issue groups

Security

33

4 issue groups

Repo Compliance

2

2 issue groups

I18n

1

1 issue group

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "ap_activate_addon".342
Category
Maintainability
Occurrences
342
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'ap_' . $vote_type".247
Category
Maintainability
Occurrences
247
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'ap_' . $vote_type".

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_post".145
Category
Maintainability
Occurrences
145
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_post".

WARNINGSecurityUnescaped DBParameterUnescaped parameter $apmeta_to_delete used in $wpdb->query()\n$apmeta_to_delete assigned unsafely at line 299.20
Category
Security
Occurrences
20
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "AP_Activate".11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AP_DB_VERSION".7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

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

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'ap_user_display_name'.5
Category
Security
Occurrences
5
Severity
error

Sample message

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

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;

WARNINGSecurityRecommendedProcessing form data without nonce verification.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

Show 10 more
WARNINGMaintainabilityupdate modification detected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: _site_transient_update_plugins

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "current_datetime()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.7.0.

ERRORMaintainabilityFound1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function move_uploaded_file() is forbidden

WARNINGI18nload plugin textdomain Found1
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.

ERRORMaintainabilityapplication detected1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Application files are not permitted.

ERRORMaintainabilitybadly named files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "AnsPress - Question and answer" is different from the name declared in plugin header "AnsPress Question Answer".

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

Sample message

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

ERRORMaintainabilityplugin updater detected1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: site_transient_update_plugins

Score History

First score snapshot

v4.4.4

35

Latest

Findings
800
Errors
22
Warnings
778
Check
2.0.0

Related Plugins

Organic Profile Block

1k+ active installs

88
Meks Smart Author Widget

10k+ active installs

72
Simple Local Avatars

100k+ active installs

72
WP User Avatars

20k+ active installs

68
Basic User Avatars

20k+ active installs

58