The permissions plugin for posts, pages, categories, tags and more. You can control permissions for roles, individual users, and even custom groups.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
372
9 issue groups
Maintainability
188
12 issue groups
Security
179
4 issue groups
ERRORI18nMissing Translators CommentA function call to __() 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.217
- Category
- I18n
- Occurrences
- 217
- Severity
- error
Sample message
A function call to __() 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.
WARNINGSecurityRequest data is not unslashed$_GET[$var] not unslashed before sanitization. Use wp_unslash() or similar97
- Category
- Security
- Occurrences
- 97
- Severity
- warning
Sample message
$_GET[$var] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().82
- Category
- I18n
- Occurrences
- 82
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_blog_id".63
- Category
- Maintainability
- Occurrences
- 63
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_blog_id".
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $agent_clause used in $wpdb->get_results()\n$agent_clause assigned unsafely at line 186.51
- Category
- Security
- Occurrences
- 51
- Severity
- warning
Sample message
Unescaped parameter $agent_clause used in $wpdb->get_results()\n$agent_clause assigned unsafely at line 186.
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_pp_memory_new_usage".39
- Category
- Maintainability
- Occurrences
- 39
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_pp_memory_new_usage".
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'nav_menu_items_' . $post_type_name".32
- Category
- Maintainability
- Occurrences
- 32
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'nav_menu_items_' . $post_type_name".
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $_opt_name28
- Category
- I18n
- Occurrences
- 28
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $_opt_name
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;23
- Category
- Maintainability
- Occurrences
- 23
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$1s, %2$2s", but got "%1s, %2s" in 'ID #%1s: %2s'.21
- Category
- I18n
- Occurrences
- 21
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$1s, %2$2s", but got "%1s, %2s" in 'ID #%1s: %2s'.
Show 15 moreShow less
ERRORSecurityUnsafe printing function18
- Category
- Security
- Occurrences
- 18
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecuritywp redirect wp redirect13
- Category
- Security
- Occurrences
- 13
- Severity
- warning
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.
ERRORMaintainabilityDeprecated parameter: get_terms parameter 213
- Category
- Maintainability
- Occurrences
- 13
- Severity
- error
Sample message
The parameter ""hide_empty=$hide_empty"" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
ERRORI18nNon Singular String Literal Domain13
- Category
- I18n
- Occurrences
- 13
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $lang_id
WARNINGMaintainabilityNot In Footer6
- Category
- Maintainability
- Occurrences
- 6
- 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.
WARNINGI18nDiscouraged text-domain loading5
- Category
- I18n
- Occurrences
- 5
- 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.
WARNINGMaintainabilityslow db query meta key3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityNon-prefixed constant3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FILTERED_PP".
ERRORI18nInterpolated Variable Text3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
The $text parameter must not contain interpolated variables or expressions. Found: {$this->pluginName}
WARNINGMaintainabilityNon-prefixed hook name2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter_name".
WARNINGMaintainabilityDiscouraged PHP function2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
query_posts() is discouraged. Use WP_Query instead.
WARNINGI18nLow Level Translation Function2
- Category
- I18n
- Occurrences
- 2
- Severity
- warning
Sample message
Use of the "translate()" function is reserved for low-level API usage.
ERRORMaintainabilityForbidden PHP function found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
The use of function wp_get_sidebars_widgets() is forbidden
WARNINGMaintainabilityDeprecated parameter: wp_count_terms parameter 21
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The parameter "array_merge($args, ['number' => '', 'offset' => ''])" at position #2 of wp_count_terms() has been deprecated since WordPress version 5.6.0. Instead do not pass the parameter.
WARNINGI18nNo Html Wrapped Strings1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
Translatable string should not be wrapped in HTML. Found: '<strong>This plugin can be deleted.</strong>'
Score History
First score snapshot
v4.8.2
27
Latest
- Findings
- 747
- Errors
- 424
- Warnings
- 323
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 27 | 747 | 424 | 323 | v4.8.2 | 2.0.0 |