WP Most Popular is a simple plugin which tracks your most popular blog posts based on views and lets you display them in your theme or blog sidebar.
Prioritized issue groups from the latest Plugin Check scan
Security
54
9 issue groups
Maintainability
29
10 issue groups
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_title'.
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
Use placeholders and $wpdb->prepare(); found interpolated variable $table at "SHOW TABLES LIKE '$table'"
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%d'.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WMP_Widget".
Sample message
Unescaped parameter $count_1 used in $wpdb->query()\n$count_1 assigned unsafely at line 27.
Sample message
Use placeholders and $wpdb->prepare(); found $sql
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Most Popular" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['id']. Check that the array index exists before using it.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Unescaped parameter $table used in $wpdb->get_var()\n$table assigned unsafely at line 6.
Sample message
Attempting a database schema change is discouraged.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WMP_PATH".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "wmp_get_popular".
Sample message
Detected usage of a non-sanitized input variable: $_POST['token']
Sample message
$_POST['token'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
wp_reset_query() is discouraged. Use wp_reset_postdata() instead.
Sample message
Tested up to: 4.9 < 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
One or more tags were ignored. Please limit your plugin to 5 tags.
Not analyzed yet.
First score snapshot
v0.3.1
39
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 85 | 50 | 35 | v0.3.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.