Conditionally display featured image on singular posts and pages

Easily control whether the featured image appears in the single post or page view (doesn't hide it in archive/list view).

v3.4.0cyrillbolligerUpdated Added 30k+ installs96% rating
73
Score
17
Errors
6
Warnings
+0
Change

Category Scores

Security58
Repo94
Performance100
Maintainability87

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

23 findings

Maintainability

13

6 issue groups

Security

9

3 issue groups

Repo Compliance

1

1 issue group

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_register_ability()" requires WordPress 6.9.0, but your plugin minimum supported version is WordPress 6.7.0.5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Function "wp_register_ability()" requires WordPress 6.9.0, but your plugin minimum supported version is WordPress 6.7.0.

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[CYBOCFI_PLUGIN_PREFIX . '_nonce']1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[CYBOCFI_PLUGIN_PREFIX . '_nonce']

WARNINGSecurityRequest data is not unslashed$_POST[CYBOCFI_PLUGIN_PREFIX . '_nonce'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_POST[CYBOCFI_PLUGIN_PREFIX . '_nonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityMissing VersionResource 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.1
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 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.1
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.

WARNINGMaintainabilitymismatched plugin namePlugin name "Conditionally display featured image on singular posts and pages" is different from the name declared in plugin header "Conditionally display featured image on singular pages and posts".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Conditionally display featured image on singular posts and pages" is different from the name declared in plugin header "Conditionally display featured image on singular pages and posts".

ERRORRepo Complianceoutdated tested upto headerTested 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.1
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

v3.4.0

73

Latest

Findings
23
Errors
17
Warnings
6
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
100
99
Default Featured Image

60k+ active installs

99
Favicon Rotator

20k+ active installs

99