ContentBot AI Writer (AI Content)

Get ideas, inspiration, and content in a few clicks with our AI Writer. All content is unique and original. Simply tweak it and go.

v1.2.4ContentBot.aiUpdated Added 500 installs94% rating
30
Score
317
Errors
69
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance100
Maintainability32

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

386 findings

Maintainability

238

13 issue groups

Security

103

8 issue groups

I18n

41

2 issue groups

Repo Compliance

2

2 issue groups

ERRORMaintainabilityrand randrand() is discouraged. Use the far less predictable wp_rand() instead.192
Category
Maintainability
Occurrences
192
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Failed to rewrite the following content: {$content}"'.28
Category
Security
Occurrences
28
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Failed to rewrite the following content: {$content}"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'content-bot' but got "wp-content-bot".27
Category
I18n
Occurrences
27
Severity
error

Sample message

Mismatched text domain. Expected 'content-bot' but got "wp-content-bot".

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

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['cb_rewrite_post'] not unslashed before sanitization. Use wp_unslash() or similar11
Category
Security
Occurrences
11
Severity
warning

Sample message

$_GET['cb_rewrite_post'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilitycurl curl setoptUsing cURL functions is highly discouraged. Use wp_remote_get() instead.10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['post']. Check that the array index exists before using it.8
Category
Security
Occurrences
8
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['post']. Check that the array index exists before using it.

Show 15 more
WARNINGMaintainabilityNon-prefixed global variable7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityMissing Version5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilitywp function not compatible with requires wp4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Function "get_avatar_url()" requires WordPress 4.2.0, but your plugin minimum supported version is WordPress 3.8.0.

WARNINGMaintainabilityNon-prefixed function2
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: "cb_addPostActions".

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
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.

ERRORMaintainabilitycurl curl close2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl exec2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl init2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['post']

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "ContentBot AI Writer (AI Content)" is different from the name declared in plugin header "Content Bot".

ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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 Complianceplugin header nonexistent domain path1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"

External Connections

Potential connections found in static code analysis.

13 domains

Outbound calls

260

External assets

4

Incoming endpoints

6

Notable Domains

getbootstrap.com28 · outbound
popper.js.org9 · outbound
quirksmode.org6 · outbound
charistheo.io3 · outbound

Platform / Reference Domains

github.com121 · platform/reference
w3.org48 · platform/reference

External Asset Domains

contentbot.ai34 · asset + outbound

Incoming Endpoints

/wp-json/content-bot/cbai_force_unlinkREST

register_rest_route

/wp-json/content-bot/cbai_import_documentREST

register_rest_route

Admin AJAX endpoints4
wp_ajax_contentbot_save_apikeyauthenticated

wp_ajax

wp_ajax_contentbot_save_modelauthenticated

wp_ajax

wp_ajax_contentbot_save_otlauthenticated

wp_ajax

wp_ajax_contentbot_save_websiteauthenticated

wp_ajax

Score History

First score snapshot

v1.2.4

30

Latest

Findings
386
Errors
317
Warnings
69
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins