Sublanguage is a lightweight multilanguage plugin for wordpress.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
370
12 issue groups
Maintainability
166
11 issue groups
I18n
11
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 '$args['after_title']'.206
- Category
- Security
- Occurrences
- 206
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_menu_item_object".65
- Category
- Maintainability
- Occurrences
- 65
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_menu_item_object".
WARNINGSecurityRequest data is not unslashed$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar47
- Category
- Security
- Occurrences
- 47
- Severity
- warning
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['page']44
- Category
- Security
- Occurrences
- 44
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['page']
WARNINGMaintainabilityerror log trigger errortrigger_error() found. Debug code should not normally be used in production.24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- warning
Sample message
trigger_error() found. Debug code should not normally be used in production.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.22
- Category
- Maintainability
- Occurrences
- 22
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().22
- Category
- Maintainability
- Occurrences
- 22
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $alias at " $andor_op ($alias.meta_value $like_op %s)"18
- Category
- Security
- Occurrences
- 18
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $alias at " $andor_op ($alias.meta_value $like_op %s)"
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Show 15 moreShow less
ERRORSecuritySQL query is not prepared12
- Category
- Security
- Occurrences
- 12
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $post_meta_keys
ERRORSecurityDatabase parameter is not escaped8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
Unescaped parameter $post_meta_keys used in $wpdb->query()\n$post_meta_keys assigned unsafely at line 258.
ERRORI18nMissing Translators Comment8
- Category
- I18n
- Occurrences
- 8
- 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.
WARNINGSecurityInput is not validated5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.
ERRORMaintainabilitywp function not compatible with requires wp5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Function "get_registered_meta_keys()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.5.0.
WARNINGMaintainabilityNon-prefixed hook name4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "the_content".
WARNINGSecuritywp redirect wp redirect4
- Category
- Security
- Occurrences
- 4
- 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.
WARNINGSecurityDatabase parameter is not escaped3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Unescaped parameter $wheres used in $wpdb->get_results()\n$wheres assigned unsafely at line 757.
ERRORI18nMissing Arg Domain3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORSecurityQuoted Dynamic Placeholder Generation2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Dynamic placeholder generation should not have surrounding quotes.
WARNINGSecurityMissing nonce verification2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityDeprecated parameter: get_terms parameter 22
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
The parameter "$args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
WARNINGMaintainabilityMissing Version2
- 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.
WARNINGMaintainabilityNot In Footer2
- Category
- Maintainability
- Occurrences
- 2
- 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.
WARNINGMaintainabilityslow db query meta query1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
External Connections
Potential connections found in static code analysis.
Outbound calls
5
External assets
0
Incoming endpoints
4
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Admin AJAX endpoints4
wp_ajax
wp_ajax
wp_ajax
wp_ajax
Score History
First score snapshot
v2.12
33
Latest
- Findings
- 553
- Errors
- 266
- Warnings
- 287
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 33 | 553 | 266 | 287 | v2.12 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.