ACF Options For Polylang

Improves Polylang by adding per-language support for ACF options pages—each language can have its own option values.

v2.0.0Amaury BalmerUpdated Added 10k+ installs88% rating0% support resolved
94
Score
9
Errors
23
Warnings
+0
Change

Category Scores

Security100
Repo83
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

32 findings

Maintainability

22

9 issue groups

I18n

7

3 issue groups

Repo Compliance

3

3 issue groups

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BEA_ACF_OPTIONS_FOR_POLYLANG_DIR".6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BEA_ACF_OPTIONS_FOR_POLYLANG_DIR".

WARNINGMaintainabilityNon Prefixed Namespace FoundNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "BEA\ACF_Options_For_Polylang".6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "BEA\ACF_Options_For_Polylang".

ERRORI18nText Domain MismatchMismatched text domain. Expected 'acf-options-for-polylang' but got 'bea-acf-options-for-polylang'.5
Category
I18n
Occurrences
5
Severity
error

Sample message

Mismatched text domain. Expected 'acf-options-for-polylang' but got 'bea-acf-options-for-polylang'.

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "bea_acf_options_for_polylang_load".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "bea_acf_options_for_polylang_load".

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bea.aofp.excluded_post_ids".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bea.aofp.excluded_post_ids".

WARNINGI18nload plugin textdomain Foundload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityInvalid Prefix PassedThe "bea.aofp.get_default" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "bea.aofp.get_default" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.

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

Sample message

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

WARNINGMaintainabilityerror log trigger errortrigger_error() found. Debug code should not normally be used in production.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORRepo Compliancelicense mismatchYour plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

Show 5 more
WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "ACF Options For Polylang" is different from the name declared in plugin header "ACF Options for Polylang".

ERRORMaintainabilitymissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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 invalid network1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Network" header in the plugin file is not valid. Can only be set to true, and should be left out when not needed.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "bea-acf-options-for-polylang", expected "acf-options-for-polylang".

Score History

First score snapshot

v2.0.0

94

Latest

Findings
32
Errors
9
Warnings
23
Check
2.0.0

Related Plugins