Sentry for WordPress

A (unofficial) WordPress plugin to report PHP errors and Browser (JavaScript) errors to Sentry.

v8.11.1stayalliveUpdated Added 10k+ installs98% rating100% support resolved
40
Score
80
Errors
40
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability79

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

120 findings

I18n

57

3 issue groups

Security

46

6 issue groups

Maintainability

16

8 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-sentry-integration' but got 'wp-sentry'.41
Category
I18n
Occurrences
41
Severity
error

Sample message

Mismatched text domain. Expected 'wp-sentry-integration' but got 'wp-sentry'.

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

Sample message

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

WARNINGI18nLow Level Translation FunctionUse of the "translate()" function is reserved for low-level API usage.15
Category
I18n
Occurrences
15
Severity
warning

Sample message

Use of the "translate()" function is reserved for low-level API usage.

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

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['action']3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['action']

WARNINGSecurityRequest data is not unslashed$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNot In FooterIn 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.3
Category
Maintainability
Occurrences
3
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.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Sentry for WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Sentry for WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.

Show 8 more
WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Check that the array index exists before using it.

ERRORMaintainabilityfile system operations fclose1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

ERRORMaintainabilityfile system operations fread1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().

ERRORI18nInterpolated Variable Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must not contain interpolated variables or expressions. Found: {$test_event_id}

ERRORRepo Compliancereadme mismatched header requires1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires at least: 4.5 != 4.4. "Requires at least" needs to be exactly the same with that in your main plugin file's header.

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

Sample message

Function "wp_get_environment_type()" requires WordPress 5.5.0, but your plugin minimum supported version is WordPress 4.4.0.

External Connections

Not analyzed yet.

Score History

First score snapshot

v8.11.1

40

Latest

Findings
120
Errors
80
Warnings
40
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Simple Login Log

5k+ active installs

100
Email Log

80k+ active installs

95
Log Emails

6k+ active installs

47
41