Robots.txt Editor

Robots.txt for WordPress

v1.1.4ProcessbyUpdated Added 10k+ installs90% rating
72
Score
10
Errors
7
Warnings
+0
Change

Category Scores

Security54
Repo94
Performance100
Maintainability92

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

17 findings

Security

10

3 issue groups

Maintainability

5

3 issue groups

I18n

1

1 issue group

Repo Compliance

1

1 issue group

WARNINGSecurityInput Not Validated Not SanitizedDetected usage of a non-sanitized, non-validated input variable _SERVER: "{$_SERVER['DOCUMENT_ROOT']}/robots.txt"6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _SERVER: "{$_SERVER['DOCUMENT_ROOT']}/robots.txt"

ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo $robotsUrl ..." but found "<?= $robotsUrl ..."2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $robotsUrl ..." but found "<?= $robotsUrl ..."

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityrename renamerename() is discouraged. Use WP_Filesystem::move() to rename a file.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$robotsUrl&quot;.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$robotsUrl&quot;.

ERRORI18nNo Empty StringsThe $text text string should have translatable content. Found: ''1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

ERRORRepo Complianceoutdated tested upto headerTested up to: 5.6 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v1.1.4

72

Latest

Findings
17
Errors
10
Warnings
7
Check
2.0.0

Related Plugins

HTTP 410 (Gone) responses

4k+ active installs

100
noindex SEO

3k+ active installs

100
99
ShopWriter Lite

0 active installs

99
VS Meta Description

3k+ active installs

99