The Open Graph Protocol enables any web page to become a rich object in a social graph. This plugin renders meta tags within an extension framework.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
19
6 issue groups
Security
7
4 issue groups
I18n
2
1 issue group
Repo Compliance
1
1 issue group
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "excerpt_length".4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "excerpt_length".
ERRORMaintainabilitywp cache reset Foundwp_cache_reset() has been deprecated since WordPress version 3.5.0. Use wp_cache_switch_to_blog() instead.4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
wp_cache_reset() has been deprecated since WordPress version 3.5.0. Use wp_cache_switch_to_blog() instead.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_HOST']
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. 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['HTTP_HOST']. Check that the array index exists before using it.
WARNINGSecurityMissing Unslash$_SERVER['HTTP_HOST'] not unslashed before sanitization. Use wp_unslash() or similar2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
$_SERVER['HTTP_HOST'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: OPEN_GRAPH_PROTOCOL_PLUGIN_DOMAIN2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: OPEN_GRAPH_PROTOCOL_PLUGIN_DOMAIN
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'.1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'apply_filters'.
Show 2 moreShow less
ERRORMaintainabilityAdd option Param3Found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
The parameter "null" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Use "" instead.
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.9 < 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.
Score History
First score snapshot
v2.1.0
75
Latest
- Findings
- 29
- Errors
- 17
- Warnings
- 12
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 75 | 29 | 17 | 12 | v2.1.0 | 2.0.0 |