Custom API for WP

Connect WordPress with External APIs and create no-code custom WordPress REST API endpoints to interact with the WordPress database to perform SQL ope …

v4.6.0miniOrangeUpdated Added 1k+ installs96% rating
59
Score
173
Errors
16
Warnings
+0
Change

Category Scores

Security42
Repo94
Performance100
Maintainability58

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

189 findings

Maintainability

174

7 issue groups

Security

13

3 issue groups

Repo Compliance

2

2 issue groups

ERRORMaintainabilitywp function not compatible with requires wpFunction "current_action()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.0.1.158
Category
Maintainability
Occurrences
158
Severity
error

Sample message

Function "current_action()" requires WordPress 3.9.0, but your plugin minimum supported version is WordPress 3.0.1.

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

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $final_get_query5
Category
Security
Occurrences
5
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.3
Category
Maintainability
Occurrences
3
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().3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Custom API for WP" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Custom API for WP" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORMaintainabilityLocalhost URL foundDo not use Localhost/127.0.0.1/*.local in your code. Found: http://localhost/2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Do not use Localhost/127.0.0.1/*.local in your code. Found: http://localhost/

ERRORMaintainabilitylibrary core filesLibrary files that are already in the WordPress core are not permitted.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

Show 2 more
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.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

Score History

First score snapshot

v4.6.0

59

Latest

Findings
189
Errors
173
Warnings
16
Check
2.0.0

Related Plugins

99
WP-REST-API V2 Menus

3k+ active installs

96
Make Connector

80k+ active installs

94
Disable WP REST API

30k+ active installs

93