Enables you to display how many times a post/page had been viewed.
Prioritized issue groups from the latest Plugin Check scan
Security
115
6 issue groups
Maintainability
70
13 issue groups
I18n
8
1 issue group
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_postviews_column".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$base_name".
Sample message
Function "get_sites()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.0.0.
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
Detected usage of meta_key, possible slow query.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "the_views".
Sample message
Detected usage of a non-sanitized input variable: $_GET['mode']
Sample message
$_GET['mode'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP-PostViews" - contains the restricted term "wp" which cannot be used at all in your plugin name.
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
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
Sample message
wp_get_sites() has been deprecated since WordPress version 4.6.0. Use get_sites() instead.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Widget_PostViews".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WP_POSTVIEWS_VERSION".
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Potential connections found in static code analysis.
Outbound calls
2
External assets
0
Incoming endpoints
2
No external asset domains detected.
wp_ajax
wp_ajax
2 score snapshots
v1.78.1
36
Latest
v1.78
35
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 195 | 131 | 64 | v1.78.1 | 2.0.0 |
| 35 | 196 | 132 | 64 | v1.78 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.