Shamor

Redirect user out of your site on Shabbat and Holiday.

v1.8.3Shamor TeamUpdated Added 400 installs100% rating
53
Score
55
Errors
12
Warnings
+0
Change

Category Scores

Security26
Repo89
Performance100
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

67 findings

Maintainability

48

8 issue groups

Security

14

6 issue groups

I18n

3

1 issue group

Repo Compliance

2

2 issue groups

ERRORMaintainabilitywp function not compatible with requires wpFunction "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 2.0.0.39
Category
Maintainability
Occurrences
39
Severity
error

Sample message

Function "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 2.0.0.

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().4
Category
Security
Occurrences
4
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'shamor' but got 'wp-shamor'.3
Category
I18n
Occurrences
3
Severity
error

Sample message

Mismatched text domain. Expected 'shamor' but got 'wp-shamor'.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$template_id".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$template_id".

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_SERVER[$param] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_SERVER[$param] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ce_clear_cache".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ce_clear_cache".

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

Show 7 more
WARNINGSecurityPlugin menu slug uses __FILE__1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER[$param]

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORMaintainabilityMissing direct file access protection1
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 header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

11 domains

Outbound calls

28

External assets

1

Incoming endpoints

2

Notable Domains

en.wikipedia.org8 · outbound
dev.maxmind.com4 · outbound
php-fig.org2 · outbound
wpshamor.com2 · outbound
getcomposer.org1 · outbound

Platform / Reference Domains

github.com7 · platform/reference

External Asset Domains

gmpg.org1 · asset

Incoming Endpoints

wp_ajax_nopriv_validate_wp_shammorpublic

wp_ajax

Admin AJAX endpoints1
wp_ajax_validate_wp_shammorauthenticated

wp_ajax

Score History

First score snapshot

v1.8.3

53

Latest

Findings
67
Errors
55
Warnings
12
Check
2.0.0

Relationship Map

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

33 nodes

Related Plugins

WP Hebrew Date

600 active installs

38