Advanced Custom Fields (ACF®)

ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 million sites, WordPress developers love ACF.

v6.8.4WP EngineUpdated Added 2m+ installs90% rating36% support resolved
23
Score
2,456
Errors
1,218
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance91
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

3,674 findings

I18n

2,276

4 issue groups

Maintainability

1,233

15 issue groups

Security

144

4 issue groups

Performance

4

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'advanced-custom-fields' but got 'acf'.2,221
Category
I18n
Occurrences
2,221
Severity
error

Sample message

Mismatched text domain. Expected 'advanced-custom-fields' but got 'acf'.

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'acf/schema/post_field_objects/post_type=' . $post_type".236
Category
Maintainability
Occurrences
236
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'acf/schema/post_field_objects/post_type=' . $post_type".

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORI18nMissing Translators CommentA 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.39
Category
I18n
Occurrences
39
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.

WARNINGSecurityMissing Unslash$_GET[$key] not unslashed before sanitization. Use wp_unslash() or similar36
Category
Security
Occurrences
36
Severity
warning

Sample message

$_GET[$key] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

Show 15 more
WARNINGSecurityMissing17
Category
Security
Occurrences
17
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not Sanitized15
Category
Security
Occurrences
15
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['acf']

ERRORI18nMissing Singular Placeholder14
Category
I18n
Occurrences
14
Severity
error

Sample message

Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals

WARNINGMaintainabilityDirect Query9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNot In Footer7
Category
Maintainability
Occurrences
7
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 tax query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityDynamic Hookname Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter/$variation=$value".

WARNINGMaintainabilityInvalid Prefix Passed4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

The "acf/field" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.

ERRORMaintainabilitywp function not compatible with requires wp4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Function "register_block_bindings_source()" requires WordPress 6.5.0, but your plugin minimum supported version is WordPress 6.2.0.

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORI18nNon Singular String Literal Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

WARNINGPerformancePost Not In exclude2
Category
Performance
Occurrences
2
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

ERRORPerformanceSuppress Filters suppress filters2
Category
Performance
Occurrences
2
Severity
error

Sample message

Setting `suppress_filters` to `true` is prohibited.

WARNINGMaintainabilityDiscouraged1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

Score History

First score snapshot

v6.8.4

23

Latest

Findings
3,674
Errors
2,456
Warnings
1,218
Check
2.0.0

Related Plugins

ACF Field For CF7

10k+ active installs

99
ACF Post-2-Post

3k+ active installs

98
ACF Autosize

4k+ active installs

97
CubeWP Forms

4k+ active installs

97