Add a Language Switcher to Menus, Post Types and Taxonomies.
Prioritized issue groups from the latest Plugin Check scan
Security
88
9 issue groups
I18n
54
4 issue groups
Maintainability
38
12 issue groups
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.
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 '" .lsw-if-{$lang} { display: none; }"'.
Sample message
$_COOKIE[$this->_prefix . 'd'] 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: "lsw_get_current_post_id".
Sample message
Missing $domain parameter in function call to __().
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$post->post_type . '_custom_fields'".
Sample message
Mismatched placeholders is probably an error
Sample message
Detected usage of a non-sanitized input variable: $_REQUEST['language_switcher']
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST['post']. Check that the array index exists before using it.
Sample message
In footer ($in_footer) is not set explicitly wp_register_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
The $text parameter must be a single text string literal. Found: $custom_title
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Detected usage of meta_value, possible slow query.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.6.0.
Sample message
Unescaped parameter $options_table used in $wpdb->get_results()\n$options_table assigned unsafely at line 504.
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 interpolated variable $options_table at "SELECT option_value as value FROM $options_table WHERE option_name = 'WPLANG'"
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WPLANG".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$locales".
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Potential connections found in static code analysis.
Outbound calls
21
External assets
0
Incoming endpoints
1
No external asset domains detected.
register_rest_route
First score snapshot
v3.8.8
37
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 37 | 186 | 81 | 105 | v3.8.8 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.