LocoAI – Auto Translate For Loco Translate

LocoAI - Auto Translate For Loco Translate is a powerful tool for developers looking to quickly translate their WordPress plugins and themes.

v2.7.2CoolHappyUpdated Added 70k+ installs98% rating100% support resolved
88
Score
12
Errors
32
Warnings
+0
Change

Category Scores

Security84
Repo100
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

44 findings

Maintainability

38

5 issue groups

Security

4

2 issue groups

I18n

2

2 issue groups

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$available_models".23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$available_models".

ERRORMaintainabilitywp function not compatible with requires wpFunction "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.0.0.10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.0.0.

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "CPFM_Feedback_Notice".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "CPFM_Feedback_Notice".

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['metadata']3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['metadata']

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

Sample message

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

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $text_domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $text_domain

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Add %s API key %s'.1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Add %s API key %s'.

WARNINGMaintainabilitymismatched plugin namePlugin name "LocoAI - Auto Translate For Loco Translate" is different from the name declared in plugin header "LocoAI – Auto Translate for Loco Translate".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "LocoAI - Auto Translate For Loco Translate" is different from the name declared in plugin header "LocoAI – Auto Translate for Loco Translate".

WARNINGMaintainabilitymissing composer json fileThe "/vendor" directory using composer exists, but "composer.json" file is missing.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

Score History

First score snapshot

v2.7.2

88

Latest

Findings
44
Errors
12
Warnings
32
Check
2.0.0

Related Plugins