Multilingual Contact Form 7 with Polylang

Enables string translation and use of the same forms in different languages of Contact Form 7 forms with Polylang

v1.0.13Andreas MünchUpdated Added 9k+ installs98% rating
39
Score
50
Errors
30
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability80

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

80 findings

I18n

32

7 issue groups

Security

31

7 issue groups

Maintainability

14

6 issue groups

Repo Compliance

3

3 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'multilingual-contact-form-7-with-polylang' but got 'contact-form-7'.17
Category
I18n
Occurrences
17
Severity
error

Sample message

Mismatched text domain. Expected 'multilingual-contact-form-7-with-polylang' but got 'contact-form-7'.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$delete_url'.8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$delete_url'.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE['pll_language']7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['pll_language']

WARNINGSecurityMissing Unslash$_COOKIE['pll_language'] not unslashed before sanitization. Use wp_unslash() or similar7
Category
Security
Occurrences
7
Severity
warning

Sample message

$_COOKIE['pll_language'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().7
Category
I18n
Occurrences
7
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGSecurityMissingProcessing form data without nonce verification.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.

WARNINGMaintainabilityNot In FooterIn 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.3
Category
Maintainability
Occurrences
3
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.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $args['name']3
Category
I18n
Occurrences
3
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $args['name']

Show 13 more
WARNINGMaintainabilityerror log error log2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGSecurityRecommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators Comment2
Category
I18n
Occurrences
2
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.

WARNINGMaintainabilityDynamic Hookname Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->args['slug'] . '_settings_fields'".

ERRORSecurityUnsafe Printing Function1
Category
Security
Occurrences
1
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORMaintainability get path to translation from lang dir Found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

_get_path_to_translation_from_lang_dir() has been deprecated since WordPress version 6.1.0. Use WP_Textdomain_Registry instead.

ERRORMaintainabilityGet terms Param2Found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "array( 'hide_empty' => false, 'orderby' => 'term_group' )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORI18nNo Empty Strings1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$s", but got "%d, %s" in 'There are %d custom messages translations in this form (see %s panel)\r\n that are not translatable because they are not put in {curly braces}. <br>\r\n If you want to use the english default message strings which are translated automatically by WordPress, \r\n then you can reset the custom translations here.'.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Complianceplugin header nonexistent domain path1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages."

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "multilangual-cf7-polylang", expected "multilingual-contact-form-7-with-polylang".

Score History

First score snapshot

v1.0.13

39

Latest

Findings
80
Errors
50
Warnings
30
Check
2.0.0

Related Plugins