This plugin adds a panel to the Settings->Media page, enabling changes to the file types which are permitted to be uploaded to the media library.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
13
4 issue groups
Maintainability
5
4 issue groups
Repo Compliance
2
2 issue groups
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"ADDED $extension => $mimetype"'.4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"ADDED $extension => $mimetype"'.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['extension_to_add']3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['extension_to_add']
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['extension_to_add']. Check that the array index exists before using it.3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['extension_to_add']. Check that the array index exists before using it.
WARNINGSecurityRequest data is not unslashed$_POST['extension_to_add'] not unslashed before sanitization. Use wp_unslash() or similar3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
$_POST['extension_to_add'] 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.2
- Category
- Maintainability
- Occurrences
- 2
- 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.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$option".1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$option".
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.
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 Complianceno licenseMissing "License". Please update your readme with a valid GPLv2 (or later) compatible license.1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
ERRORRepo Complianceoutdated tested upto headerTested up to: 4.2 < 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: 4.2 < 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.
External Connections
Potential connections found in static code analysis.
Outbound calls
2
External assets
0
Incoming endpoints
2
Notable Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Admin AJAX endpoints2
wp_ajax
wp_ajax
Score History
First score snapshot
v1.3
67
Latest
- Findings
- 20
- Errors
- 7
- Warnings
- 13
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 67 | 20 | 7 | 13 | v1.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.