Require Login

A plugin for Wordpress that redirects users to the login page whenever they try to visit any page/post/etc on the blog.

v1.0.1richard4339Updated Added 500 installs100% rating
81
Score
9
Errors
12
Warnings
+0
Change

Category Scores

Security73
Repo89
Performance100
Maintainability89

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

21 findings

Maintainability

14

5 issue groups

Security

3

2 issue groups

I18n

2

2 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "wp-require-login" - contains the restricted term "wp" which cannot be used at all in your plugin name.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "wp-require-login" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.1
Category
Security
Occurrences
1
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-require-login' but got 'require_login'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'wp-require-login' but got 'require_login'.

WARNINGMaintainabilitymismatched plugin namePlugin name "wp-require-login" is different from the name declared in plugin header "Require Login".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "wp-require-login" is different from the name declared in plugin header "Require Login".

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;

ERRORRepo Complianceoutdated tested upto headerTested up to: 4.1 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

Show 1 more
ERRORMaintainabilitystable tag mismatch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Mismatched Stable Tag: 1.0.3 != 1.0.1. Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

2

External assets

0

Incoming endpoints

0

Notable Domains

digitalxero.com1 · outbound

Platform / Reference Domains

github.com1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.0.1

81

Latest

Findings
21
Errors
9
Warnings
12
Check
2.0.0

Relationship Map

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

28 nodes

Related Plugins

Default Admin Color Scheme

800 active installs

100
Firebase Authentication

500 active installs

100
Logged-in-only

700 active installs

100
Login Security Captcha

10k+ active installs

100
Protect Login

600 active installs

100
PufferDesk

0 active installs

100