Simple Mathjax

Yet another plugin to add MathJax support to your wordpress blog. Just wrap your equations inside $ signs and MathJax will render them visually.

v2.1.1Samuel CoskeyUpdated Added 4k+ installs94% rating
69
Score
29
Errors
3
Warnings
+0
Change

Category Scores

Security52
Repo89
Performance100
Maintainability85

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

32 findings

Maintainability

17

6 issue groups

Security

12

2 issue groups

Repo Compliance

2

2 issue groups

I18n

1

1 issue group

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $options ..." but found "<?= $options ..."12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $options ..." but found "<?= $options ..."

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\n<script type='text/x-mathjax-config'>\n{$config}\n</script>\n"'.11
Category
Security
Occurrences
11
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\n<script type='text/x-mathjax-config'>\n{$config}\n</script>\n"'.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;SimpleMathjax&quot;.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;SimpleMathjax&quot;.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$options&quot;.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$options&quot;.

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'.

ERRORMaintainabilityNo Explicit VersionVersion parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

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().

WARNINGMaintainabilitymismatched plugin namePlugin name "Simple Mathjax" is different from the name declared in plugin header "Simple MathJax".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Simple Mathjax" is different from the name declared in plugin header "Simple MathJax".

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 Complianceno licenseMissing "License". Please update your readme with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.1.1

69

Latest

Findings
32
Errors
29
Warnings
3
Check
2.0.0

Related Plugins

KaTeX

2k+ active installs

99
MathJax-LaTeX

10k+ active installs

96
WP QuickLaTeX

5k+ active installs

42