Automatic scanning of strings translation in the theme and registration of them in Polylang plugin. Extension for Polylang plugin.
Prioritized issue groups from the latest Plugin Check scan
Security
106
7 issue groups
I18n
37
4 issue groups
Maintainability
4
2 issue groups
Repo Compliance
2
2 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$k'.
Sample message
The $domain parameter must be a single text string literal. Found: self::$pll_d
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST['_action']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_REQUEST['_action']
Sample message
$_REQUEST['_action'] not unslashed before sanitization. Use wp_unslash() or similar
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
Missing $domain parameter in function call to _e().
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
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
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
The $text parameter must be a single text string literal. Found: $ut_text
Sample message
Tested up to: 4.9 < 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
One or more tags were ignored. Please limit your plugin to 5 tags.
Not analyzed yet.
First score snapshot
v4.0
42
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 42 | 149 | 119 | 30 | v4.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.