Hello from June 2021.
This is still an issue. I cannot create a post type called “Order” because of this conflict.
Normally, I would just rename the slug, but in my case it needs to be user-facing in the URL, and it’s important that the URL is clear and concise.
@hube2 – can this be fixed on a future update?
I am also having this issue still.
It seems like it may only be an issue after there are a certain amount of color pickers on the backend (within a repeater).
WordPress 5.6
ACF 5.9.3
Here’s how you can do it with a filter:
function filter_acf_relationship ($args, $field, $post_id) {
$args['post_status'] = 'publish';
return $args;
}
add_filter('acf/fields/relationship/query', 'filter_acf_relationship', 10, 3);