Matterport Shortcode

Embed Matterport 3D Spaces as Galleries with cached thumbnails, titles and addresses that open in a lightbox! Responsive, 1 - 4 columns.

v2.2.2Julien BerthelotUpdated Added 3k+ installs100% rating
75
Score
21
Errors
30
Warnings
+0
Change

Category Scores

Security62
Repo94
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

51 findings

Maintainability

19

7 issue groups

I18n

17

2 issue groups

Security

14

3 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'shortcode-gallery-for-matterport-showcase' but got 'wp-matterport'.13
Category
I18n
Occurrences
13
Severity
error

Sample message

Mismatched text domain. Expected 'shortcode-gallery-for-matterport-showcase' but got 'wp-matterport'.

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

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET["refresh"]6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET["refresh"]

WARNINGSecurityMissing Unslash$_GET["refresh"] not unslashed before sanitization. Use wp_unslash() or similar6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_GET["refresh"] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_SERVER["PHP_SELF"]. Check that the array index exists before using it.2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$installed_ver".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

Tested up to: 6.5 < 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 slug includes a restricted term. Your plugin slug - "shortcode-gallery-for-matterport-showcase" - contains the restricted term "wc" which cannot be used at all in your plugin slug.

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

Sample message

Function "wp_json_encode()" requires WordPress 4.1.0, but your plugin minimum supported version is WordPress 4.0.0.

Score History

First score snapshot

v2.2.2

75

Latest

Findings
51
Errors
21
Warnings
30
Check
2.0.0

Related Plugins

Email addon for CF7

3k+ active installs

100
Menu In Post

2k+ active installs

100
Shortcode Redirect

10k+ active installs

100
Shortcode Widget

10k+ active installs

100
Columns

3k+ active installs

99