Dashboard Wordcount

Updates the Dashboard's At a Glance widget to show the total word count of all the published posts and age of this WordPress website.

v0.8ricardjorgUpdated Added 500 installs100% rating
72
Score
30
Errors
7
Warnings
+0
Change

Category Scores

Security58
Repo86
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

37 findings

Security

14

1 issue group

I18n

13

6 issue groups

Maintainability

7

4 issue groups

Repo Compliance

3

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" {$average} "'.14
Category
Security
Occurrences
14
Severity
error

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'dashboard-wordcount' but got 'post-word-count-languages'.8
Category
I18n
Occurrences
8
Severity
error

Sample message

Mismatched text domain. Expected 'dashboard-wordcount' but got 'post-word-count-languages'.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "post_comment_word_count".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "post_comment_word_count".

WARNINGI18nDiscouraged text-domain loadingload_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.1
Category
I18n
Occurrences
1
Severity
warning

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.

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to _n().1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing $domain parameter in function call to _n().

ERRORI18nNon Singular String Literal PluralThe $plural parameter must be a single text string literal. Found: __('Words', 'post-word-count-languages')1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $plural parameter must be a single text string literal. Found: __('Words', 'post-word-count-languages')

ERRORI18nNon Singular String Literal SingleThe $single parameter must be a single text string literal. Found: __('Words', 'post-word-count-languages')1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $single parameter must be a single text string literal. Found: __('Words', 'post-word-count-languages')

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

Show 4 more
ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

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

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "post-word-count-languages", expected "dashboard-wordcount".

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

2

External assets

0

Incoming endpoints

0

Notable Domains

ricardojorge.net1 · outbound

Platform / Reference Domains

wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v0.8

72

Latest

Findings
37
Errors
30
Warnings
7
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

30 nodes

Related Plugins

Default Admin Color Scheme

800 active installs

100
PufferDesk

0 active installs

100
Add Dashboard Columns

400 active installs

99
Customize Admin

4k+ active installs

99
Hide WP Admin Notifications

1k+ active installs

99