Rich Table of Contents

RTOC is a table of contents generation plugin from Japan that allows anyone to easily create a table of contents. Equipped with the functions of the c …

v1.4.3Croover.incUpdated 2025-04-30Added Feb 25, 202020k+ installs82% rating
37
Score
262
Errors
57
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance100
Maintainability71

Top Issues by Category

security264
maintainability51
repo_compliance3
i18n1

Issues Details

319 issues found in latest scan

ERROR208
WordPress.Security.EscapeOutput.OutputNotEscaped

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

ERROR28
PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing

Sanitization missing for register_setting().

ERROR21
WordPress.WP.EnqueuedResourceParameters.NoExplicitVersion

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

WARNING14
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING9
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_REQUEST['rtoc_back_button_color'] not unslashed before sanitization. Use wp_unslash() or similar

WARNING9
WordPress.WP.EnqueuedResourceParameters.MissingVersion

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.

WARNING8
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

WARNING4
WordPress.PHP.DevelopmentFunctions.error_log_error_log

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

WARNING3
WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace

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

ERROR3
missing_direct_file_access_protection

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

WARNING2
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']

WARNING2
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING1
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

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.

ERROR1
PluginCheck.CodeAnalysis.Heredoc.NotAllowed

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;book_stealth_load_textdomain&quot;.

WARNING1
WordPress.Security.SafeRedirect.wp_redirect_wp_redirect

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

WARNING1
WordPress.WP.EnqueuedResourceParameters.NotInFooter

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.

ERROR1
outdated_tested_upto_header

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

WARNING1
readme_parser_warnings_too_many_tags

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNING1
readme_parser_warnings_trimmed_short_description

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

Latest Snapshot

Findings

319

Errors

262

Warnings

57

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.4.3 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.4.3

37

Latest

Findings
319
Errors
262
Warnings
57
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins