Post Type Select Field for Advanced Custom Fields

Custom field definition for Advanced Custom Fields for a select box populated with post types. Add-on for Advanced Custom Fields.

v1.1.0Glenn WelserUpdated Added 900 installs100% rating
59
Score
48
Errors
1
Warnings
+0
Change

Category Scores

Security31
Repo94
Performance100
Maintainability90

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

49 findings

I18n

22

2 issue groups

Security

21

2 issue groups

Maintainability

5

3 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'post-type-select-for-advanced-custom-fields' but got 'acf'.21
Category
I18n
Occurrences
21
Severity
error

Sample message

Mismatched text domain. Expected 'post-type-select-for-advanced-custom-fields' but got 'acf'.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$choice['label']'.17
Category
Security
Occurrences
17
Severity
error

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.4
Category
Security
Occurrences
4
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilitymismatched plugin namePlugin name "Post Type Select Field for Advanced Custom Fields" is different from the name declared in plugin header "Post Type Select for Advanced Custom Fields".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Post Type Select Field for Advanced Custom Fields" is different from the name declared in plugin header "Post Type Select for Advanced Custom Fields".

ERRORRepo Complianceoutdated tested upto headerTested up to: 4.7 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilitytrunk stable tagIncorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

4

External assets

0

Incoming endpoints

0

Notable Domains

Platform / Reference Domains

codex.wordpress.org1 · platform/reference
github.com1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.1.0

59

Latest

Findings
49
Errors
48
Warnings
1
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

100
ACF Field For CF7

10k+ active installs

99
Post Type Transfer

3k+ active installs

99
ACF Clone Repeater

1k+ active installs

98