Pro Mime Types adds a nifty admin interface for allowing or blocking many file extensions for uploading media, documents, and other attachments.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
126
7 issue groups
I18n
20
2 issue groups
Security
6
2 issue groups
Repo Compliance
1
1 issue group
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_comment".56
- Category
- Maintainability
- Occurrences
- 56
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_comment".
ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo \ ..." but found "<?= \ ..."48
- Category
- Maintainability
- Occurrences
- 48
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo \ ..." but found "<?= \ ..."
WARNINGI18nText Domain MismatchMismatched text domain. Expected 'pro-mime-types' but got 'default'.19
- Category
- I18n
- Occurrences
- 19
- Severity
- warning
Sample message
Mismatched text domain. Expected 'pro-mime-types' but got 'default'.
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.
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;6
- Category
- Maintainability
- Occurrences
- 6
- 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: "pmt_admin_notices".5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "pmt_admin_notices".
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['tab']3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['tab']
WARNINGSecurityMissing Unslash$_GET['tab'] not unslashed before sanitization. Use wp_unslash() or similar3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
$_GET['tab'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGI18nload plugin textdomain Foundload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
Show 2 moreShow less
WARNINGMaintainabilityDiscouraged1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The use of function set_time_limit() is discouraged
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.2.0
80
Latest
- Findings
- 153
- Errors
- 55
- Warnings
- 98
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 80 | 153 | 55 | 98 | v2.2.0 | 2.0.0 |