Conditional Display for Mobile can be used to control what content is displayed depending on the visitor's device or web browser.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
106
2 issue groups
Maintainability
6
4 issue groups
Repo Compliance
4
4 issue groups
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_SERVER['HTTP_USER_AGENT']53
- Category
- Security
- Occurrences
- 53
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_USER_AGENT']
WARNINGSecurityRequest data is not unslashed$_SERVER['HTTP_USER_AGENT'] not unslashed before sanitization. Use wp_unslash() or similar53
- Category
- Security
- Occurrences
- 53
- Severity
- warning
Sample message
$_SERVER['HTTP_USER_AGENT'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Conditional Display for Mobile - Mobile Detect Plugin" - contains the restricted term "plugin" 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 - "Conditional Display for Mobile - Mobile Detect Plugin" - contains the restricted term "plugin" which cannot be used at all in your plugin name.
WARNINGMaintainabilitymismatched plugin namePlugin name "Conditional Display for Mobile - Mobile Detect Plugin" is different from the name declared in plugin header "Conditional Display for Mobile by WonderPlugin".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Conditional Display for Mobile - Mobile Detect Plugin" is different from the name declared in plugin header "Conditional Display for Mobile by WonderPlugin".
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 Complianceoutdated tested upto headerTested up to: 6.4 < 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.4 < 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.
ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
WARNINGRepo Compliancereadme parser warnings too many tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
WARNINGRepo Compliancereadme parser warnings trimmed short descriptionThe "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
ERRORMaintainabilitytrunk stable tagIncorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.
Score History
First score snapshot
v1.2
48
Latest
- Findings
- 116
- Errors
- 4
- Warnings
- 112
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 48 | 116 | 4 | 112 | v1.2 | 2.0.0 |