Add categories to media & attachments.
Prioritized issue groups from the latest Plugin Check scan
Security
115
7 issue groups
Maintainability
19
9 issue groups
Repo Compliance
5
5 issue groups
I18n
3
2 issue groups
Sample message
Processing form data without nonce verification.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class=\"updated\"><p>{$message}</p></div>"'.
Sample message
Detected usage of a non-sanitized input variable: $_GET['media_category']
Sample message
$_GET['media_category'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "ajax_query_attachments_args".
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Detected usage of tax_query, possible slow query.
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 $prepared
Sample message
The parameter "array(\r\n\t\t'hide_empty' => 0,\r\n\t\t'fields' => 'id=>slug',\r\n\t)" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
A function call to _n() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Media Categories" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_wp_media_categories".
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
Sample message
Setting `suppress_filters` to `true` is prohibited.
Sample message
Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="
Sample message
Tested up to: 5.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.
Sample message
The "Domain Path" header in the plugin file must point to an existing folder. Found: "wp-media-categories/lang"
Sample message
The "Short Description" section is missing. An excerpt was generated from your main plugin description.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The readme short description contains unofficial language. It must be written in standard English.
Potential connections found in static code analysis.
Outbound calls
3
External assets
0
Incoming endpoints
2
No external asset domains detected.
No public endpoints detected.
wp_ajax
wp_ajax
First score snapshot
v2.1.0
38
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 143 | 40 | 103 | v2.1.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.