Home › Forums › Bug Reports › Bug ACF 5.2.0 – Custom Fields stop rendering › Reply To: Bug ACF 5.2.0 – Custom Fields stop rendering
post_object.php line 170
5.2.1:
$groups = acf_get_grouped_posts( $args );
5.1.8:
$groups = acf_get_posts( $args );
5.2.1:
get_posts( $value ) is removed
5.1.8:
render_field()/format_value() uses $this->get_posts
5.2.1:
render_field()/format_value() uses acf_get_posts
api-helpers.php
Not sure if it makes a diff, but it looks like in your 5.2.1|acf_get_posts() you loop the product of $posts=get_posts, while in 5.1.8|$this->get_posts() you loop the $value and don’t deal with the product of get_posts.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.