This plugin will allow you to upload files to your post or pages or any other custom post types.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
111
13 issue groups
Security
85
8 issue groups
I18n
4
3 issue groups
Repo Compliance
1
1 issue group
Sample message
Function "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 2.0.2.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$GLOBALS['msg']'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$display_file_size_value".
Sample message
$_POST[$k] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "custom_pdf_all_attachments_shortcode".
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.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Form_Class".
Sample message
Detected usage of a non-sanitized input variable: $_FILES['cpt_pdf_attachment'.$i]['name']
Sample message
No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
Sample message
Processing form data without nonce verification.
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.
Sample message
Mismatched text domain. Expected 'custom-post-type-pdf-attachment' but got 'login-sidebar-widget'.
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.
Sample message
Unescaped parameter $query used in $wpdb->query()\n$query assigned unsafely at line 75.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found $query
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['cpt_pdf_attachment'.$i]['tmp_name']. Check that the array index exists before using it.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
The parameter "NULL" at position #2 of wp_upload_bits() has been deprecated since WordPress version 2.0.0. Instead do not pass the parameter.
Sample message
Missing $domain parameter in function call to _e().
Sample message
Tested up to: 6.7 < 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.
Potential connections found in static code analysis.
Outbound calls
7
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
First score snapshot
v3.4.6
34
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 34 | 202 | 153 | 49 | v3.4.6 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.