Based on the original Random Redirect, this plugin enables efficient, easy random redirection to a post. Supports setting a category for all random re …
Prioritized issue groups from the latest Plugin Check scan
Security
83
11 issue groups
I18n
29
5 issue groups
Maintainability
12
6 issue groups
Repo Compliance
3
3 issue groups
Sample message
Mismatched text domain. Expected 'better-random-redirect' but got 'better_random_redirect'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$category'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Processing form data without nonce verification.
Sample message
Use placeholders and $wpdb->prepare(); found $query
Sample message
$_GET['cat'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_GET['cat']
Sample message
Replacement variables found, but no valid placeholders found in the query.
Sample message
mt_rand() is discouraged. Use the far less predictable wp_rand() instead.
Sample message
Unescaped parameter $query used in $wpdb->get_col()\n$query assigned unsafely at line 250.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
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.
Sample message
Using __FILE__ for menu slugs risks exposing filesystem structure.
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.
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.
Sample message
Missing $domain parameter in function call to _e().
Sample message
Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="
Sample message
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.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
Sample message
The "Text Domain" header in the plugin file should only contain lowercase letters, numbers, and hyphens. Found "better_random_redirect".
Potential connections found in static code analysis.
Outbound calls
2
External assets
0
Incoming endpoints
0
No notable third-party domains detected.
No external asset domains detected.
No public endpoints detected.
First score snapshot
v1.3.20
39
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 128 | 88 | 40 | v1.3.20 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.