Compact Archives

Displays a smart monthly archive of posts in a more compact form rather than the default long archive widget.

v4.1.1Syed BalkhiUpdated Added 2k+ installs100% rating
90
Score
8
Errors
14
Warnings
+0
Change

Category Scores

Security89
Repo94
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

22 findings

Maintainability

18

9 issue groups

I18n

2

2 issue groups

Security

1

1 issue group

Repo Compliance

1

1 issue group

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_compact_archive".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WPBeginner_CAW_Widget".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WPBeginner_CAW_Widget".

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WPB_COMPACT_ARCHIVES_VERSION".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WPB_COMPACT_ARCHIVES_VERSION".

WARNINGMaintainabilityNon Prefixed Namespace FoundNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WPB\CompactArchives\Compat".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WPB\CompactArchives\Compat".

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'admin_url'.1
Category
Security
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'compact-archives' but got 'caw-domain'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'compact-archives' but got 'caw-domain'.

WARNINGMaintainabilitymismatched plugin namePlugin name "Compact Archives" is different from the name declared in plugin header "WPBeginner's Compact Archives".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Compact Archives" is different from the name declared in plugin header "WPBeginner's Compact Archives".

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

Sample message

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

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WPBeginner&#039;s Compact Archives" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.8.0.

Score History

First score snapshot

v4.1.1

90

Latest

Findings
22
Errors
8
Warnings
14
Check
2.0.0

Related Plugins

Shortcode Widget

10k+ active installs

100
Custom Post Type Widgets

10k+ active installs

99
Featured Image

1k+ active installs

99